diff options
Diffstat (limited to 'ick2/controllerapi_tests.py')
-rw-r--r-- | ick2/controllerapi_tests.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ick2/controllerapi_tests.py b/ick2/controllerapi_tests.py index 3277526..ca05e6b 100644 --- a/ick2/controllerapi_tests.py +++ b/ick2/controllerapi_tests.py @@ -1,4 +1,16 @@ # Copyright (C) 2017 Lars Wirzenius +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import os @@ -34,7 +46,7 @@ class ControllerAPITests(unittest.TestCase): statedir = api.get_state_directory() self.assertEqual(statedir, self.statedir) self.assertTrue(os.path.exists(statedir)) - + def test_has_not_projects_initially(self): api = self.create_api() self.assertEqual(api.get_projects(), {'projects': []}) |