File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -10,36 +10,3 @@ def test_suppress_errors():
10
10
11
11
with pytest .raises (RuntimeError , match = "suppress_errors must be boolean" ):
12
12
run .config (suppress_errors = 200 )
13
-
14
- def test_missing_config ():
15
- """
16
- Check for missing config
17
- """
18
- run = Run ()
19
-
20
- with pytest .raises (RuntimeError , match = "Unable to get URL and token from environment variables or config file" ):
21
- run .init ()
22
-
23
- def test_invalid_url ():
24
- """
25
- Check invalid URL
26
- """
27
- os .environ ["SIMVUE_URL" ] = "localhost"
28
- os .environ ["SIMVUE_TOKEN" ] = "test"
29
-
30
- run = Run ()
31
-
32
- with pytest .raises (RuntimeError , match = r".*Invalid URL.*" ):
33
- run .init ()
34
-
35
- def test_cannot_connect ():
36
- """
37
- Check unable to connect during init
38
- """
39
- os .environ ["SIMVUE_URL" ] = "http://localhost"
40
- os .environ ["SIMVUE_TOKEN" ] = "test"
41
-
42
- run = Run ()
43
-
44
- with pytest .raises (RuntimeError , match = "Failed to establish a new connection" ):
45
- run .init ()
You can’t perform that action at this time.
0 commit comments