Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context of computation for crypten #2963

Merged
Prev Previous commit
Next Next commit
fix msgpack tests
  • Loading branch information
youben11 committed Jan 31, 2020
commit 2644a1a977ea8819ed546230a9ea48a59ef542c5
8 changes: 4 additions & 4 deletions test/serde/serde_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1327,18 +1327,18 @@ def compare(detailed, original):

return [
{
"value": syft.messaging.message.CryptenInit([0, 2, "127.0.01", 8080]),
"value": syft.messaging.message.CryptenInit([0, 2, "127.0.0.1", 8080]),
"simplified": (
CODE[syft.messaging.message.CryptenInit],
((CODE[list], (0, 2, "127.0.01", 8080)),), # (Any) simplified content
((CODE[list], (0, 2, (CODE[str], (b"127.0.0.1",)), 8080)),), # (Any) simplified content
),
"cmp_detailed": compare,
},
{
"value": syft.messaging.message.CryptenInit((0, 2, "127.0.01", 8080)),
"value": syft.messaging.message.CryptenInit((0, 2, "127.0.0.1", 8080)),
"simplified": (
CODE[syft.messaging.message.CryptenInit],
((CODE[tuple], (0, 2, "127.0.01", 8080)),), # (Any) simplified content
((CODE[tuple], (0, 2, (CODE[str], (b"127.0.0.1",)), 8080)),), # (Any) simplified content
),
"cmp_detailed": compare,
},
Expand Down