Skip to content

Commit a795559

Browse files
committed
Remove bad tests
1 parent 0c27a24 commit a795559

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

tests/unit/test_simvue.py

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,3 @@ def test_suppress_errors():
1010

1111
with pytest.raises(RuntimeError, match="suppress_errors must be boolean"):
1212
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()

0 commit comments

Comments
 (0)