summaryrefslogtreecommitdiff
path: root/tests/topotests/example_test/test_example.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-09-05 02:24:50 -0400
committerChristian Hopps <chopps@labn.net>2021-09-05 02:45:13 -0400
commit36c19497301ee10ae952b844dfb4ed016d4bb1e6 (patch)
tree5af1f83f78208343ddb5229bcdec092ce9f40fd2 /tests/topotests/example_test/test_example.py
parent5653bb515c97119661f37c6571de0164a2274744 (diff)
tests: new improved simple JSON template w/ doc update
Utilizes new pytest fixtures to completely factor out setup and teardown functionality. Supply the JSON config and write your tests. "The best topotest template yet!" Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/example_test/test_example.py')
-rwxr-xr-xtests/topotests/example_test/test_example.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/topotests/example_test/test_example.py b/tests/topotests/example_test/test_example.py
index 72eceee612..30c3d248f7 100755
--- a/tests/topotests/example_test/test_example.py
+++ b/tests/topotests/example_test/test_example.py
@@ -36,6 +36,7 @@ def test_fail_example():
assert True, "Some Text with explaination in case of failure"
+@pytest.mark.xfail
def test_ls_exits_zero():
"Tests for ls command on invalid file"