diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_subcmds_sync.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_subcmds_sync.py b/tests/test_subcmds_sync.py index b43fe18e..71b0f8e0 100644 --- a/tests/test_subcmds_sync.py +++ b/tests/test_subcmds_sync.py | |||
@@ -110,7 +110,7 @@ def test_cli_jobs(argv, jobs_manifest, jobs, jobs_net, jobs_check): | |||
110 | 110 | ||
111 | 111 | ||
112 | class LocalSyncState(unittest.TestCase): | 112 | class LocalSyncState(unittest.TestCase): |
113 | """Tests for _LocalSyncState.""" | 113 | """Tests for LocalSyncState.""" |
114 | 114 | ||
115 | _TIME = 10 | 115 | _TIME = 10 |
116 | 116 | ||
@@ -129,7 +129,7 @@ class LocalSyncState(unittest.TestCase): | |||
129 | 129 | ||
130 | def _new_state(self, time=_TIME): | 130 | def _new_state(self, time=_TIME): |
131 | with mock.patch("time.time", return_value=time): | 131 | with mock.patch("time.time", return_value=time): |
132 | return sync._LocalSyncState(self.manifest) | 132 | return sync.LocalSyncState(self.manifest) |
133 | 133 | ||
134 | def test_set(self): | 134 | def test_set(self): |
135 | """Times are set.""" | 135 | """Times are set.""" |