def test_has_method_failure(self): headers = {'Stubo-Request-Method' : 'POST'} assert_that(self.get_stubo_request(**headers), is_not(has_method('GET')))
def test_undefined_default(self): headers = {} assert_that(self.get_stubo_request(**headers), has_method('POST'))
def test_has_method_match2(self): headers = {'Stubo-Request-Method' : 'GET'} assert_that(self.get_stubo_request(**headers), has_method('GET'))