We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c04f5b9 commit 85c782eCopy full SHA for 85c782e
tests/test_bugs.py renamed to tests/test_get_value.py
@@ -3,16 +3,12 @@
3
from netcompare import CheckType
4
5
6
-issue_67 = {"global": {"peers": {"10.1.0.0": "peer1", "10.2.0.0": "peer2"}}}
+my_data = {"global": {"peers": {"10.1.0.0": "peer1", "10.2.0.0": "peer2"}}}
7
8
-issue_67_test = [
9
- issue_67,
10
-]
11
12
-
13
-@pytest.mark.parametrize("data", issue_67_test)
14
-def test_issue_67(data):
15
- """Resolve issue 67: https://github.com/networktocode-llc/netcompare/issues/67"""
+@pytest.mark.parametrize("data", [my_data])
+def test_jmspath_return_none(data):
+ """Habdle exception when JMSPath retunr None."""
16
my_jmspath = "global[*]"
17
my_check = CheckType.init(check_type="exact_match")
18
with pytest.raises(TypeError) as error:
0 commit comments