summaryrefslogtreecommitdiff
path: root/service/test/unit
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-07-21 09:07:03 +0000
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-08-11 17:00:26 +0200
commitb0d46549e7bc99bac63f444ac4d225dd565b2e5d (patch)
tree5a81c34ad6f5bbf5fffc8677fd1a141395e1cd00 /service/test/unit
parent4df3237b8b5d6b829c05c61dc3c21f9e782950de (diff)
Removed broken, outdated test from test_soledad_querier.py.
Diffstat (limited to 'service/test/unit')
-rw-r--r--service/test/unit/adapter/test_soledad_querier.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/service/test/unit/adapter/test_soledad_querier.py b/service/test/unit/adapter/test_soledad_querier.py
index 9e5e8d9a..8321ed72 100644
--- a/service/test/unit/adapter/test_soledad_querier.py
+++ b/service/test/unit/adapter/test_soledad_querier.py
@@ -140,18 +140,6 @@ class SoledadQuerierTest(unittest.TestCase):
yield call_with_bad_parameters(querier.idents_by_mailbox)
yield call_with_bad_parameters(querier.get_mbox)
- def test_get_lastuid_broken(self):
- # FIXME this is completely out of sync with the new implementation
- soledad = mock()
- mbox = mock()
- mbox.content = {'lastuid': 0}
- when(soledad).get_from_index('by-type-and-mbox', 'mbox', 'INBOX').thenReturn([mbox])
- querier = SoledadQuerier(soledad)
-
- self.assertEquals(querier.get_lastuid(querier.get_mbox('INBOX')), 0)
- mbox.content = {'lastuid': 1}
- self.assertEquals(querier.get_lastuid(querier.get_mbox('INBOX')), 1)
-
@defer.inlineCallbacks
def test_get_lastuid(self):
soledad = mock()