Esempio n. 1
0
    def _matches(actual):
        from hamcrest.core import assert_that as hamcrest_assert
        from hamcrest.library.collection import contains_inanyorder
        expected_list = list(expected)

        hamcrest_assert(actual, contains_inanyorder(*expected_list))
Esempio n. 2
0
    def _matches(actual):
        expected_list = list(expected)

        hamcrest_assert(actual, contains_inanyorder(*expected_list))