aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
authorEric Wang <gnawrice@gmail.com>2018-10-13 16:30:02 -0700
committerTrygve Aaberge <trygveaa@gmail.com>2018-10-20 15:53:44 +0200
commit469535e355b396153654ebef589db8e268ebccc7 (patch)
treef6a2c250b41673a4794a77457092189e957d39ae /_pytest
parentfab34dc3431c41bb51b36951f558a44290d90467 (diff)
downloadwee-slack-469535e355b396153654ebef589db8e268ebccc7.tar.gz
Fix test_everything.py failing by handling events in order
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/test_everything.py2
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)