Tristan Van Berkom pushed to branch master at BuildStream / buildstream
Commits:
-
ef2b4648
by Tristan Van Berkom at 2019-01-24T06:14:20Z
-
40c18174
by Tristan Van Berkom at 2019-01-24T07:00:50Z
1 changed file:
Changes:
... | ... | @@ -676,21 +676,20 @@ def test_track_junction_included(cli, tmpdir, datafiles, ref_storage, kind): |
676 | 676 |
|
677 | 677 |
|
678 | 678 |
@pytest.mark.datafiles(DATA_DIR)
|
679 |
-@pytest.mark.parametrize("kind", [(kind) for kind in ALL_REPO_KINDS])
|
|
680 |
-def test_track_error_cannot_write_file(cli, tmpdir, datafiles, kind):
|
|
679 |
+def test_track_error_cannot_write_file(cli, tmpdir, datafiles):
|
|
681 | 680 |
if os.geteuid() == 0:
|
682 | 681 |
pytest.skip("This is not testable with root permissions")
|
683 | 682 |
|
684 | 683 |
project = str(datafiles)
|
685 | 684 |
dev_files_path = os.path.join(project, 'files', 'dev-files')
|
686 | 685 |
element_path = os.path.join(project, 'elements')
|
687 |
- element_name = 'track-test-{}.bst'.format(kind)
|
|
686 |
+ element_name = 'track-test.bst'
|
|
688 | 687 |
|
689 | 688 |
configure_project(project, {
|
690 | 689 |
'ref-storage': 'inline'
|
691 | 690 |
})
|
692 | 691 |
|
693 |
- repo = create_repo(kind, str(tmpdir))
|
|
692 |
+ repo = create_repo('git', str(tmpdir))
|
|
694 | 693 |
ref = repo.create(dev_files_path)
|
695 | 694 |
|
696 | 695 |
element_full_path = os.path.join(element_path, element_name)
|