summaryrefslogtreecommitdiff
path: root/ick2/persistent_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/persistent_tests.py')
-rw-r--r--ick2/persistent_tests.py6
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')