Changeset e7d166f in trunk
- Timestamp:
- 2019-11-26T13:33:56Z (5 years ago)
- Branches:
- master
- Children:
- 2037cd9
- Parents:
- bbc9c63
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/test/test_storage_client.py ¶
rbbc9c63 re7d166f 25 25 from zope.interface.verify import ( 26 26 verifyObject, 27 ) 28 29 from hyperlink import ( 30 URL, 27 31 ) 28 32 … … 467 471 requests. 468 472 """ 469 url = u"http://127.0.0.1:{port}/storage-plugins/{plugin_name}/counter".format( 473 url = URL( 474 scheme=u"http", 475 host=u"127.0.0.1", 470 476 port=self.port, 471 plugin_name=self.storage_plugin, 472 ).encode("utf-8") 477 path=( 478 u"storage-plugins", 479 self.storage_plugin.decode("utf-8"), 480 u"counter", 481 ), 482 ).to_text().encode("utf-8") 473 483 values = { 474 484 loads((yield do_http(b"get", url)))[u"value"],
Note: See TracChangeset
for help on using the changeset viewer.