def test_parse_authstring(self):
        auth = parse_authstring(self.authstring())
        assert str(auth['id']) == self.mac_id
        assert int(auth['ts']) == self.mac_ts
        assert str(auth['nonce']) == self.mac_nonce
        assert str(auth['mac']) == self.mac
Test the parse_authstring() method
dataset/ETHPy150Open pytent/pytentd/tentd/tests/utils/test_auth.py/TestAuth.test_parse_authstring