Ejemplo n.º 1
0
def test_store_invalid_project(ddb):
    """Test handling of invalid project."""
    project = Project('12456', [''])
    project.github_urls = []
    success = ddb.store(project)
    assert not success
Ejemplo n.º 2
0
 def test_store_invalid_project(self):
     project = Project('12456', [''])
     project.github_urls = []
     self.assertFalse(self.ddb.store(project))