Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release-1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
meejah committed Dec 6, 2021
2 parents 5f6579d + f977ce2 commit c3e574b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Empty file added newsfragments/3850.minor
Empty file.
15 changes: 15 additions & 0 deletions src/allmydata/test/test_storage_http.py
Expand Up @@ -63,7 +63,22 @@ def test_bad_authentication(self):
def test_version(self):
"""
The client can return the version.
We ignore available disk space and max immutable share size, since that
might change across calls.
"""
version = yield self.client.get_version()
version[b"http://allmydata.org/tahoe/protocols/storage/v1"].pop(
b"available-space"
)
version[b"http://allmydata.org/tahoe/protocols/storage/v1"].pop(
b"maximum-immutable-share-size"
)
expected_version = self.storage_server.remote_get_version()
expected_version[b"http://allmydata.org/tahoe/protocols/storage/v1"].pop(
b"available-space"
)
expected_version[b"http://allmydata.org/tahoe/protocols/storage/v1"].pop(
b"maximum-immutable-share-size"
)
self.assertEqual(version, expected_version)

0 comments on commit c3e574b

Please sign in to comment.