# HG changeset patch # User Martin Bornhold # Date 2016-07-19 09:42:38 # Node ID 1e3f3c4a54fc64a14b1d80b676e160c7809a33a4 # Parent 4151e60021eeefd88759583bb76c3ad149043123 tests: Add new argument to tests using '_create_reference_data' method. diff --git a/rhodecode/tests/functional/test_summary.py b/rhodecode/tests/functional/test_summary.py --- a/rhodecode/tests/functional/test_summary.py +++ b/rhodecode/tests/functional/test_summary.py @@ -302,9 +302,11 @@ class TestCreateReferenceData: repo = mock.Mock() repo.name = 'test-repo' repo.alias = 'git' + full_repo_name = 'pytest-repo-group/' + repo.name controller = summary.SummaryController() - result = controller._create_reference_data(repo, example_refs) + result = controller._create_reference_data( + repo, full_repo_name, example_refs) expected_result = [ { @@ -335,8 +337,10 @@ class TestCreateReferenceData: repo = mock.Mock() repo.name = 'test-repo' repo.alias = 'svn' + full_repo_name = 'pytest-repo-group/' + repo.name controller = summary.SummaryController() - result = controller._create_reference_data(repo, example_refs) + result = controller._create_reference_data( + repo, full_repo_name, example_refs) expected_result = [ {