Searched refs:mock_file (Results 1 – 2 of 2) sorted by relevance
339 mock_file = Mock()340 mock_file.name = "foo"341 self.assertEqual(bugzilla._filename_for_upload(mock_file, 1234), 'foo')
100 def __init__(self, mock_file): argument101 self.mock_file = mock_file105 return self.mock_file