Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2020-11-10 01:15:10 +0300
committerCasey Deccio <casey@deccio.net>2020-11-10 01:15:10 +0300
commit66c01b6a65c5cfdb49428cc24ba5a6dacb8c7fbc (patch)
tree40fe15a546c968b0701723021c6234ab85837a6b /tests
parentafde148fa2d8df5f9afc5c5413c552864a5a5d5a (diff)
Use relative path rather than no path
Diffstat (limited to 'tests')
-rw-r--r--tests/online_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/online_tests.py b/tests/online_tests.py
index 95eca10..83e1038 100644
--- a/tests/online_tests.py
+++ b/tests/online_tests.py
@@ -10,16 +10,16 @@ class DNSProbeTestCase(unittest.TestCase):
self.devnull.close()
def test_authoritative_probe_root(self):
- self.assertEqual(subprocess.call(['dnsviz', 'probe', '-d', '0', '-A', '.'], stdout=self.devnull), 0)
+ self.assertEqual(subprocess.call(['./bin/dnsviz', 'probe', '-d', '0', '-A', '.'], stdout=self.devnull), 0)
def test_authoritative_probe_example_com(self):
- self.assertEqual(subprocess.call(['dnsviz', 'probe', '-d', '0', '-A', 'example.com'], stdout=self.devnull), 0)
+ self.assertEqual(subprocess.call(['./bin/dnsviz', 'probe', '-d', '0', '-A', 'example.com'], stdout=self.devnull), 0)
def test_recursive_probe_root(self):
- self.assertEqual(subprocess.call(['dnsviz', 'probe', '-d', '0', '.'], stdout=self.devnull), 0)
+ self.assertEqual(subprocess.call(['./bin/dnsviz', 'probe', '-d', '0', '.'], stdout=self.devnull), 0)
def test_recursive_probe_example_com(self):
- self.assertEqual(subprocess.call(['dnsviz', 'probe', '-d', '0', 'example.com'], stdout=self.devnull), 0)
+ self.assertEqual(subprocess.call(['./bin/dnsviz', 'probe', '-d', '0', 'example.com'], stdout=self.devnull), 0)
if __name__ == '__main__':
unittest.main()