summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-12-24 16:20:24 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-12-24 16:20:24 -0500
commit8672eee93fc8e4cf017a133607a371547b5e7812 (patch)
tree216c8982b66afd4bea500d6ca7ab56b8a208624c /tests/test_plugins.py
parentc4875b6ce2265e6797705508bae09a7a74a710e4 (diff)
downloadpython-coveragepy-git-8672eee93fc8e4cf017a133607a371547b5e7812.tar.gz
Asserts should be expected,actual
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index b1614832..d3365a6d 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -426,7 +426,7 @@ class GoodFileTracerTest(FileTracerTest):
'--------------------------------------------------------',
'TOTAL 11 7 0 0 36%',
]
- self.assertEqual(report, expected)
+ self.assertEqual(expected, report)
self.assertAlmostEqual(total, 36.36, places=2)
def test_plugin2_with_html_report(self):
@@ -512,7 +512,7 @@ class GoodFileTracerTest(FileTracerTest):
'-----------------------------------------------',
'unsuspecting.py 6 3 50% 2, 4, 6',
]
- self.assertEqual(report, expected)
+ self.assertEqual(expected, report)
self.assertEqual(total, 50)
def test_find_unexecuted(self):