Changeset 9baedc9 in trunk
- Timestamp:
- 2021-05-11T15:09:59Z (4 years ago)
- Branches:
- master
- Children:
- b8b00fa
- Parents:
- 3f25714
- Location:
- src/allmydata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/client.py ¶
r3f25714 r9baedc9 929 929 calls. 930 930 """ 931 return self.config.get_private_config('api_auth_token') 931 return self.config.get_private_config( 932 'api_auth_token').encode("ascii") 932 933 933 934 def _create_auth_token(self): -
TabularUnified src/allmydata/test/test_client.py ¶
r3f25714 r9baedc9 416 416 417 417 token = c.get_auth_token() 418 self.assertEqual( "deadbeef", token)418 self.assertEqual(b"deadbeef", token) 419 419 420 420 @defer.inlineCallbacks
Note: See TracChangeset
for help on using the changeset viewer.