Skip to content
Snippets Groups Projects
Commit 39a688b0 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Karim Ahmed
Browse files

Ignore MUNGE token for test

parent 3fd9dfbd
No related branches found
No related tags found
1 merge request!984Try updating to Python 3.11 & update all deps
...@@ -80,8 +80,9 @@ def test_main(capsys): ...@@ -80,8 +80,9 @@ def test_main(capsys):
out, _ = capsys.readouterr() out, _ = capsys.readouterr()
assert "SUCCESS" in out assert "SUCCESS" in out
# The last component is a an unpredictable MUNGE token; ignored here:
assert ast.literal_eval( assert ast.literal_eval(
q.get(timeout=1).decode('utf-8')) == EXPECTED_ZMQ_REQ q.get(timeout=1).decode('utf-8'))[:-1] == EXPECTED_ZMQ_REQ[:-1]
EXPECTED_CONF = [ EXPECTED_CONF = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment