(self, user)
| 23 | assert user.getSiteData(address)["auth_privatekey"] == site_data["auth_privatekey"] |
| 24 | |
| 25 | def testAuthAddress(self, user): |
| 26 | # Auth address without Cert |
| 27 | auth_address = user.getAuthAddress("1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr") |
| 28 | assert auth_address == "1MyJgYQjeEkR9QD66nkfJc9zqi9uUy5Lr2" |
| 29 | auth_privatekey = user.getAuthPrivatekey("1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr") |
| 30 | assert CryptBitcoin.privatekeyToAddress(auth_privatekey) == auth_address |
| 31 | |
| 32 | def testCert(self, user): |
| 33 | cert_auth_address = user.getAuthAddress("1iD5ZQJMNXu43w1qLB8sfdHVKppVMduGz") # Add site to user's registry |
nothing calls this directly
no test coverage detected