2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 11:28:23 +00:00

git install test and tidying

This commit is contained in:
2021-10-31 18:01:14 +02:00
parent 36f92c5c9c
commit 252fcc4716
2 changed files with 8 additions and 6 deletions

View File

@@ -121,9 +121,11 @@ class SubprocessTest(TestCase):
pass
def test_installs(self):
''' Tests whether the external software is installed (but not whether it actually works)
'''
import troggle.settings as settings
for i in [settings.CAVERN, settings.SURVEXPORT]:
for i in [settings.CAVERN, settings.SURVEXPORT, settings.GIT]:
# Define command as string and then split() into list format
cmd = f'which {i}'.split()
try: