def test_windows_directories(self):
        self.mock_isdir.return_value = True
        self.mock_listdir.return_value = [
            'consumer-provider.json',
            'consumer2-provider.json',
            'unrelated-file.txt']

        result = verify.expand_directories(['C:\\tmp'])
        self.assertEqual(result, [
            'C:/tmp/consumer-provider.json',
            'C:/tmp/consumer2-provider.json',
        ])
 def test_uri(self):
     result = verify.expand_directories(['http://broker'])
     self.assertEqual(result, ['http://broker'])
 def test_file(self):
     self.mock_isdir.return_value = False
     result = verify.expand_directories(['/tmp/consumer-provider.json'])
     self.assertEqual(result, ['/tmp/consumer-provider.json'])