'validate_source should throw an error if the source doesn\'t have attr \'__iter__\''

def test_validate_source(self):

    def non_iterator_dprov(source):
        return self.provider_class(source)
    self.assertRaises(exceptions.InvalidDataProviderSource, non_iterator_dprov, 'one    two    three')
    self.assertRaises(exceptions.InvalidDataProviderSource, non_iterator_dprov, 40)
