summaryrefslogtreecommitdiff
path: root/tests/farm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/farm')
-rw-r--r--tests/farm/run/run_chdir.py15
-rw-r--r--tests/farm/run/src/chdir.py7
-rw-r--r--tests/farm/run/src/subdir/placeholder0
3 files changed, 0 insertions, 22 deletions
diff --git a/tests/farm/run/run_chdir.py b/tests/farm/run/run_chdir.py
deleted file mode 100644
index 5ec0b4ea..00000000
--- a/tests/farm/run/run_chdir.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
-# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
-
-copy("src", "out_chdir")
-run("""
- coverage run chdir.py
- coverage report
- """, rundir="out_chdir", outfile="stdout.txt")
-contains("out_chdir/stdout.txt",
- "Line One",
- "Line Two",
- "chdir"
- )
-doesnt_contain("out_chdir/stdout.txt", "No such file or directory")
-clean("out_chdir")
diff --git a/tests/farm/run/src/chdir.py b/tests/farm/run/src/chdir.py
deleted file mode 100644
index 250f7132..00000000
--- a/tests/farm/run/src/chdir.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
-# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
-
-import os
-print("Line One")
-os.chdir("subdir")
-print("Line Two")
diff --git a/tests/farm/run/src/subdir/placeholder b/tests/farm/run/src/subdir/placeholder
deleted file mode 100644
index e69de29b..00000000
--- a/tests/farm/run/src/subdir/placeholder
+++ /dev/null