summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2021-01-05 09:45:06 -0800
committerGitHub <noreply@github.com>2021-01-05 09:45:06 -0800
commita3c7abb88a5d94701312bf1ecdb270ab5315c72d (patch)
tree7d0e13ba6c84b44d87ef0e6caa490688803c586d
parentfd62562e99c0eae27d327a388934637a7b2e8cb0 (diff)
parent370c9303323a37a50f4737c4e93f13bcc3a335b8 (diff)
Merge pull request #930 from dbcli/RW/tests-restore-local-myclirc
Restore file test/myclirc from repository after test writes
-rwxr-xr-xsetup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 51322bd..4aa7f91 100755
--- a/setup.py
+++ b/setup.py
@@ -77,6 +77,7 @@ class test(TestCommand):
'behave test/features ' + self.behave_args,
shell=True
)
+ subprocess.run(['git', 'checkout', '--', 'test/myclirc'], check=False)
sys.exit(unit_test_errno or cli_errno)