From 8addae1c7e6f48ce16fbe43f13dc47cd48ec0672 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Thu, 18 Feb 2016 00:32:15 +0300 Subject: [PATCH] tests --- tests/.cache/v/cache/lastfailed | 1 + tests/tests.py | 9 +++++++++ tests/tests/.cache/v/cache/lastfailed | 1 + 3 files changed, 11 insertions(+) create mode 100644 tests/.cache/v/cache/lastfailed create mode 100644 tests/tests/.cache/v/cache/lastfailed diff --git a/tests/.cache/v/cache/lastfailed b/tests/.cache/v/cache/lastfailed new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/.cache/v/cache/lastfailed @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/tests.py b/tests/tests.py index e69de29..2215358 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -0,0 +1,9 @@ +from src.settings import Settings + + +class TestSettings(): + + def test_creation(self): + s = Settings() + assert s['ipv6_enabled'] is not None + assert s['notifications'] is not None diff --git a/tests/tests/.cache/v/cache/lastfailed b/tests/tests/.cache/v/cache/lastfailed new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/tests/.cache/v/cache/lastfailed @@ -0,0 +1 @@ +{} \ No newline at end of file