diff --git a/runtests.py b/runtests.py index a67eaefc..4ca53d15 100755 --- a/runtests.py +++ b/runtests.py @@ -21,9 +21,9 @@ args.extend(['--tag', 'wifi_mesh']) else: args.extend(['--exclude-tag', 'wifi_mesh']) -execute_from_command_line(args) -sys.exit( - pytest.main( - [os.path.join('openwisp_network_topology', 'tests', 'test_websockets.py')] + execute_from_command_line(args) + sys.exit( + pytest.main( + [os.path.join('openwisp_network_topology', 'tests', 'test_websockets.py')] + ) ) -)