diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-07-14 12:31:05 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-07-25 09:19:55 +0300 |
commit | 269c653adcdcc2e3ef32d7e311442a723f62dfc6 (patch) | |
tree | e6d18a3a4f9fc7d88a5eb65a47de050fede0fe9d /ick2/persistent_tests.py | |
parent | 9ef1919463a2c40c2f6be723cc0187fdd789930e (diff) | |
download | ick2-269c653adcdcc2e3ef32d7e311442a723f62dfc6.tar.gz |
Drop: unused PersistentState.get_resource_kinds method
Diffstat (limited to 'ick2/persistent_tests.py')
-rw-r--r-- | ick2/persistent_tests.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ick2/persistent_tests.py b/ick2/persistent_tests.py index 8acb141..de279a1 100644 --- a/ick2/persistent_tests.py +++ b/ick2/persistent_tests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018 Lars Wirzenius +# Copyright (C) 2018-2019 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 @@ -35,9 +35,6 @@ class FilePersistentStateTests(unittest.TestCase): def test_returns_dirname(self): self.assertEqual(self.state.get_directory(), self.tempdir) - def test_has_no_resource_kinds_initially(self): - self.assertEqual(self.state.get_resource_kinds(), []) - def test_has_no_resources_initially(self): self.assertEqual(self.state.get_resource_ids('silly'), []) @@ -50,7 +47,6 @@ class FilePersistentStateTests(unittest.TestCase): r = ick2.resource_from_dict(as_dict) self.state.write_resource('silly', '#1', r) self.assertTrue(self.state.has_resource('silly', '#1')) - self.assertEqual(self.state.get_resource_kinds(), ['silly']) self.assertEqual(self.state.get_resource_ids('silly'), ['#1']) r2 = self.state.get_resource('silly', '#1') |