

def test_init_defaults(self):
    'Verify a source has a default revision.'
    source = Source('http://mock.git', 'mock_dir')
    assert ('http://mock.git' == source.repo)
    assert ('mock_dir' == self.name)
    assert ('master' == source.rev)
    assert (None is source.link)

dataset/ETHPy150Open jacebrowning/gitman/gitman/test/test_models_source.py TestSource.test_init_defaults/VarMisuse@34/71 `source`->`self`