File: 0002-Disable-internet-tests.patch

package info (click to toggle)
python-molotov 1.6-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 460 kB
  • sloc: python: 3,137; makefile: 41
file content (19 lines) | stat: -rw-r--r-- 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Disable tests if they require Internet access
Author: Ondřej Nový <onovy@debian.org>

--- a/molotov/tests/test_fmwk.py
+++ b/molotov/tests/test_fmwk.py
@@ -1,4 +1,5 @@
 import os
+import pytest
 import signal
 from molotov.session import LoggedClientSession
 from molotov.runner import Runner
@@ -220,6 +221,7 @@
         self.assertEqual(len(res), 1)
 
     @async_test
+    @pytest.mark.skip(reason="This test requires internet access")
     async def test_setup_session_failure(self, loop, console, results):
 
         @setup_session()