Tests: Rename self.diag to self.tap and use self.t.diag where applicable
Having self.diag and self.t.diag was confusing as one referred to TAP output (self.diag) while the other referred to "task diagnostics" self.t.diag. self.diag is now gone and was replaced by self.tap with the same behavior.
This commit is contained in:
@@ -119,8 +119,7 @@ class TestBug360AllowedChanges(BaseTestBug360):
|
||||
self.assertNotIn(expected, err)
|
||||
|
||||
# Make sure no duplicate tasks were created
|
||||
args = ("diag",)
|
||||
code, out, err = self.t(args)
|
||||
code, out, err = self.t.diag()
|
||||
expected = "No duplicates found"
|
||||
self.assertIn(expected, out)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user