Commit d1752b0a authored by Kevin Ottens's avatar Kevin Ottens

Merge branch 'makeover' into 'master'

Adding date conditions to avoid confusion with submodules

See merge request !17
parents 4a02127b 5125cb31
......@@ -43,9 +43,9 @@ def test_activity_on_repository_row_count():
repo = PATH_TO_RESOURCES + "repo"
if not os.listdir(repo):
raise Exception("Empty git submodule. Try: git submodule update --init")
data = parse_repositories(repo)
data = parse_repositories(repo, end_date="2019-08-12")
a = activity(data, "id", "author_name", "date")
assert len(a.dataframe.index) == 100
assert len(a.dataframe.index) == 94
def test_activity_on_repository_author_count():
......
......@@ -32,9 +32,9 @@ def test_teamsize_on_repository_row_count():
repo = PATH_TO_RESOURCES + "repo"
if not os.listdir(repo):
raise Exception("Empty git submodule. Try: git submodule update --init")
data = parse_repositories(repo)
data = parse_repositories(repo, end_date="2019-08-12")
a = teamsize(data, "id", "author_name", "date")
assert len(a.dataframe.index) == 78
assert len(a.dataframe.index) == 73
def test_teamsize_on_mailinglists_return_type():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment