tests: Add new argument to tests using '_create_reference_data' method.
This commit is contained in:
parent
c86781e72f
commit
9e7f173d13
1 changed files with 6 additions and 2 deletions
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue