diff options
author | Eric Wang <gnawrice@gmail.com> | 2018-10-13 16:30:02 -0700 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2018-10-20 15:53:44 +0200 |
commit | 469535e355b396153654ebef589db8e268ebccc7 (patch) | |
tree | f6a2c250b41673a4794a77457092189e957d39ae /_pytest | |
parent | fab34dc3431c41bb51b36951f558a44290d90467 (diff) | |
download | wee-slack-469535e355b396153654ebef589db8e268ebccc7.tar.gz |
Fix test_everything.py failing by handling events in order
Diffstat (limited to '_pytest')
-rw-r--r-- | _pytest/test_everything.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/test_everything.py b/_pytest/test_everything.py index e1100d4..de22d79 100644 --- a/_pytest/test_everything.py +++ b/_pytest/test_everything.py @@ -12,7 +12,7 @@ def test_everything(realish_eventrouter, mock_websocket): datafiles = glob.glob("_pytest/data/websocket/*.json") - for fname in datafiles: + for fname in sorted(datafiles): data = json.loads(open(fname, 'r').read()) socket.add(data) eventrouter.receive_ws_callback(t) |