diff options
author | louiz’ <louiz@louiz.org> | 2019-11-09 20:49:05 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2019-11-09 20:50:36 +0100 |
commit | efb695be6bdf833d204ff0cd0fbec559dcca9bb1 (patch) | |
tree | 4208ba57b56bb065ee2d1d7fc21096873f953743 /tests/end_to_end/__main__.py | |
parent | 1736641368395440d69d68fcd701754bec0b22ec (diff) | |
download | biboumi-efb695be6bdf833d204ff0cd0fbec559dcca9bb1.tar.gz biboumi-efb695be6bdf833d204ff0cd0fbec559dcca9bb1.tar.bz2 biboumi-efb695be6bdf833d204ff0cd0fbec559dcca9bb1.tar.xz biboumi-efb695be6bdf833d204ff0cd0fbec559dcca9bb1.zip |
e2e: Implicitely include the handshake in all tests
Instead of having to write it manually everytime
Diffstat (limited to 'tests/end_to_end/__main__.py')
-rw-r--r-- | tests/end_to_end/__main__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index ea42acb..e85a4f2 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -292,7 +292,10 @@ def get_scenarios(test_path, provided_scenar_names): conf = "basic" if hasattr(mod, "conf"): conf = mod.conf - scenarios.append(Scenario(module_name, mod.scenario, conf)) + # Every scenario needs to start with the handshake sequence. + # Instead of repeating it everytime, we add it implicitely. This + # is done here. + scenarios.append(Scenario(module_name, (sequences.handshake(),) + mod.scenario, conf)) return scenarios |