summaryrefslogtreecommitdiff
path: root/test/farm/html/run_tabbed.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/farm/html/run_tabbed.py')
-rw-r--r--test/farm/html/run_tabbed.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/farm/html/run_tabbed.py b/test/farm/html/run_tabbed.py
deleted file mode 100644
index 0e9b5278..00000000
--- a/test/farm/html/run_tabbed.py
+++ /dev/null
@@ -1,24 +0,0 @@
-def html_it():
- """Run coverage and make an HTML report for tabbed."""
- import coverage
- cov = coverage.coverage()
- cov.start()
- import tabbed # pragma: nested
- cov.stop() # pragma: nested
- cov.html_report(tabbed, directory="../html_tabbed")
-
-runfunc(html_it, rundir="src")
-
-# Editors like to change things, make sure our source file still has tabs.
-contains("src/tabbed.py", "\tif x:\t\t\t\t\t# look nice")
-
-contains("html_tabbed/tabbed.html",
- ">&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>if</span> "
- "<span class='nam'>x</span><span class='op'>:</span>"
- "&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "
- "&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; "
- "<span class='com'># look nice</span>"
- )
-
-doesnt_contain("html_tabbed/tabbed.html", "\t")
-clean("html_tabbed")