From b119783a2c9b9197f373e9953a50f7959f489685 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Mon, 11 Feb 2013 18:08:32 +0000 Subject: [PATCH] Start of settings tests --- .../openlp_core_lib/test_settings.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/functional/openlp_core_lib/test_settings.py diff --git a/tests/functional/openlp_core_lib/test_settings.py b/tests/functional/openlp_core_lib/test_settings.py new file mode 100644 index 000000000..18158eda1 --- /dev/null +++ b/tests/functional/openlp_core_lib/test_settings.py @@ -0,0 +1,19 @@ +""" + Package to test the openlp.core.lib package. +""" +import os + +from unittest import TestCase +from mock import MagicMock +from openlp.core.lib import Settings + +TESTPATH = os.path.abspath(os.path.join(os.path.dirname(__file__), u'..', u'..', u'resources')) + +class TestSettings(TestCase): + + def settings_basic_test(self): + """ + Test the Settings creation and its usage + """ + # GIVEN: A new Settings + settings = Settings()