summaryrefslogtreecommitdiff
path: root/wrappers/python
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2022-02-09 17:02:20 +0100
committerStevenWdV <stevenwdv@gmail.com>2022-02-09 17:02:20 +0100
commite0228bca0f8cc2133a4efbbc5ed62bf01fda3783 (patch)
tree729d7cc508ab167a8f529f2faad1653996b5b371 /wrappers/python
parent19b583d03d3a9e654e149db971f1c752ad807f46 (diff)
Improve wrapper min sign time tests, add .NET version note
Diffstat (limited to 'wrappers/python')
-rwxr-xr-xwrappers/python/test_discovery.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/python/test_discovery.py b/wrappers/python/test_discovery.py
index 73c51c4..eaf68dd 100755
--- a/wrappers/python/test_discovery.py
+++ b/wrappers/python/test_discovery.py
@@ -22,7 +22,7 @@ class VerifyTests(unittest.TestCase):
read_bytes(f"{test_data_dir}/server_list.json.minisig"),
read_bytes(f"{test_data_dir}/server_list.json"),
"server_list.json",
- 0
+ 10
)
def testValidMemoryView(self):
@@ -59,7 +59,7 @@ class VerifyTests(unittest.TestCase):
read_bytes(f"{test_data_dir}/server_list.json.minisig"),
read_bytes(f"{test_data_dir}/server_list.json"),
"server_list.json",
- 1 << 31
+ 11
)
self.assertEqual(ctx.exception.code, discovery.VerifyErrorCode.ErrTooOld)