MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / testAddress

Method testAddress

src/Test/TestUser.py:8–11  ·  view source on GitHub ↗
(self, user)

Source from the content-addressed store, hash-verified

6@pytest.mark.usefixtures("resetSettings")
7class TestUser:
8 def testAddress(self, user):
9 assert user.master_address == "15E5rhcAUD69WbiYsYARh4YHJ4sLm2JEyc"
10 address_index = 1458664252141532163166741013621928587528255888800826689784628722366466547364755811
11 assert user.getAddressAuthIndex("15E5rhcAUD69WbiYsYARh4YHJ4sLm2JEyc") == address_index
12
13 # Re-generate privatekey based on address_index
14 def testNewSite(self, user):

Callers

nothing calls this directly

Calls 1

getAddressAuthIndexMethod · 0.80

Tested by

no test coverage detected