Skip to content
Snippets Groups Projects
Commit 1f134f95 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

match the exact expected length

parent 6d098bc5
No related branches found
No related tags found
1 merge request!278Port to Python 3
......@@ -56,7 +56,6 @@ from testtools.matchers import (
MatchesAll,
MatchesListwise,
MatchesStructure,
Not,
)
from testtools.twistedsupport import succeeded
from testtools.twistedsupport._deferred import extract_result
......@@ -353,6 +352,7 @@ class ClientPluginTests(TestCase):
Tests for the plugin's implementation of
``IFoolscapStoragePlugin.get_storage_client``.
"""
@given(tahoe_configs(), announcements())
def test_interface(self, get_config, announcement):
"""
......@@ -653,7 +653,7 @@ class LeaseMaintenanceServiceTests(TestCase):
self.assertThat(
roots,
MatchesAll(
Not(HasLength(0)),
HasLength(1),
AllMatch(Provides([IFilesystemNode])),
),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment