We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d2176 commit 5c5c5c3Copy full SHA for 5c5c5c3
tests/test_probe.py
@@ -1,14 +1,18 @@
1
-from pytest import raises
2
-import shutil
3
-
4
from changes import probe
5
from . import context, setup, teardown
6
7
8
def test_probe_project():
9
assert probe.probe_project(context)
10
11
-def test_probe_with_alt_requirements():
12
- with raises(Exception):
13
- shutil.rmtree(context.requirements)
14
- probe.probe_project(context)
+
+def test_has_binary():
+ assert probe.has_binary('git')
+def test_has_no_binary():
+ assert not probe.has_binary('foo')
15
16
17
+def test_has_test_runner():
18
+ assert probe.has_test_runner()
0 commit comments