Commit 75e3f261 authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Remove unused import

- Fix spacing (PEP8)
- Stub out skynettimer test code
parent cf7ef5c7
......@@ -18,8 +18,6 @@
# * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * #
# * 02110-1301 USA * #
import pytest
from libs.config import SkynetConfig
from collections import defaultdict
from os import path
......
......@@ -25,6 +25,7 @@ import os
from libs.funcs import pid_exists
from unittest.mock import patch
class TestFuncs(object):
def test_pid_negative(self):
assert pid_exists(-1) == False
......
......@@ -18,10 +18,104 @@
# * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * #
# * 02110-1301 USA * #
import pytest
from libs.skynettimer import SkynetTimer
class TestSkynetTimer(object):
def test_instantiation(self):
pass
def test_loadfromfile(self):
pass
def test_sendtodb(self):
pass
def test_get_client_id(self):
pass
def test_set_client_id(self):
pass
def test_del_client_id(self):
pass
def test_get_timer_id(self):
pass
def test_set_timer_id(self):
pass
def test_del_timer_id(self):
pass
def test_get_minute(self):
pass
def test_set_minute(self):
pass
def test_del_minute(self):
pass
def test_get_hour(self):
pass
def test_set_hour(self):
pass
def test_del_hour(self):
pass
def test_get_day(self):
pass
def test_set_day(self):
pass
def test_del_day(self):
pass
def test_get_month(self):
pass
def test_set_month(self):
pass
def test_del_month(self):
pass
def test_get_override(self):
pass
def test_set_override(self):
pass
def test_del_override(self):
pass
def test_get_ip_range(self):
pass
def test_set_ip_range(self):
pass
def test_del_ip_range(self):
pass
def test_get_options(self):
pass
def test_set_options(self):
pass
def test_del_options(self):
pass
def test_get_action(self):
pass
def test_set_action(self):
pass
def test_del_action(self):
pass
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment