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.
2 parents 55ca618 + d5763ef commit d24c89fCopy full SHA for d24c89f
tests/test_get_value.py
@@ -3,12 +3,12 @@
3
from netcompare import CheckType
4
5
6
-my_data = {"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
9
-@pytest.mark.parametrize("data", [my_data])
+@pytest.mark.parametrize("data", my_data)
10
def test_jmspath_return_none(data):
11
- """Habdle exception when JMSPath retunr None."""
+ """Handle exception when JMSPath retunr None."""
12
my_jmspath = "global[*]"
13
my_check = CheckType.create(check_type="exact_match")
14
with pytest.raises(TypeError) as error:
0 commit comments