def test_init_error(self):
        with pytest.raises(ValueError):
            Source('', 'mock_dir')
        with pytest.raises(ValueError):
            Source('http://mock.git', '')
Verify the repository and directory are required.
dataset/ETHPy150Open jacebrowning/gitman/gitman/test/test_models_source.py/TestSource.test_init_error