summaryrefslogtreecommitdiff
path: root/ick2/workapi_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-18 11:39:28 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-18 11:39:28 +0300
commit7e674fb46c1e42506c15b3a79c120956b3ff3336 (patch)
treef7623212ef69154d2246c6c383fd15f4b446e1fb /ick2/workapi_tests.py
parent77104290b1af83fea2221aea26c5b0618dd6fae2 (diff)
downloadick2-7e674fb46c1e42506c15b3a79c120956b3ff3336.tar.gz
Revert "Add: MemoryPersitentState"
This reverts commit 581f6cd53f57599326439dccb355e882e7858faa.
Diffstat (limited to 'ick2/workapi_tests.py')
-rw-r--r--ick2/workapi_tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ick2/workapi_tests.py b/ick2/workapi_tests.py
index 8652110..c368b4b 100644
--- a/ick2/workapi_tests.py
+++ b/ick2/workapi_tests.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2019 Lars Wirzenius
+# Copyright (C) 2017-2018 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
@@ -28,7 +28,8 @@ class WorkAPITests(unittest.TestCase):
def setUp(self):
self.tempdir = tempfile.mkdtemp()
self.statedir = os.path.join(self.tempdir, 'state/dir')
- self.state = ick2.MemoryPersistentState()
+ self.state = ick2.FilePersistentState()
+ self.state.set_directory(self.statedir)
self.claims = None
def tearDown(self):