diff options
Diffstat (limited to 'ick2/state_tests.py')
-rw-r--r-- | ick2/state_tests.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ick2/state_tests.py b/ick2/state_tests.py index 098ad2d..15a0a24 100644 --- a/ick2/state_tests.py +++ b/ick2/state_tests.py @@ -1,4 +1,17 @@ # 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 @@ -33,7 +46,7 @@ class ControllerStateTests(unittest.TestCase): statedir = state.get_state_directory() self.assertEqual(statedir, self.statedir) self.assertTrue(os.path.exists(statedir)) - + def test_has_not_projects_initially(self): state = self.create_state() self.assertEqual(state.get_projects(), []) |