testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00838
[Bug 816603] [NEW] Use MatchesListwise if assertThat matcher argument is list or tuple
Public bug reported:
So that::
self.assertThat((test, err), MatchesListwise(Equal(PlaceHolder('foo')), MatchesRegex('.*Zero.*')))
becomes::
self.assertThat((test, err), [Equal(PlaceHolder('foo')), MatchesRegex('.*Zero.*')])
Just a thought.
** Affects: testtools
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/816603
Title:
Use MatchesListwise if assertThat matcher argument is list or tuple
Status in testtools:
New
Bug description:
So that::
self.assertThat((test, err), MatchesListwise(Equal(PlaceHolder('foo')), MatchesRegex('.*Zero.*')))
becomes::
self.assertThat((test, err), [Equal(PlaceHolder('foo')), MatchesRegex('.*Zero.*')])
Just a thought.
To manage notifications about this bug go to:
https://bugs.launchpad.net/testtools/+bug/816603/+subscriptions
Follow ups
References