← Back to team overview

testtools-dev team mailing list archive

[Bug 816603] Re: Use MatchesListwise if assertThat matcher argument is list or tuple

 

** Changed in: testtools
       Status: New => In Progress

** Changed in: testtools
       Status: In Progress => Triaged

** Changed in: testtools
   Importance: Undecided => Wishlist

** Tags added: matchers

-- 
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:
  Triaged

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


References