Skip to content

Commit c27988a

Browse files
Suorefioppared
committed
test: minor fixture refactor fixes from @pared and @efiop
Co-Authored-By: Ruslan Kuprieiev <kupruser@gmail.com> Co-Authored-By: Paweł Redzyński <pawelredzynski@gmail.com>
1 parent 0385810 commit c27988a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/dir_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def scm_add(self, filenames, commit=None):
9090
if commit:
9191
self.scm.commit(commit)
9292

93-
# Introspection mehtods
93+
# Introspection methods
9494
def list(self):
9595
return [p.name for p in self.iterdir()]
9696

tests/func/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_unicode(self):
5959
self.assertTrue(os.path.isfile(stage.path))
6060

6161

62-
class TestAddUnupportedFile(TestDvc):
62+
class TestAddUnsupportedFile(TestDvc):
6363
def test(self):
6464
with self.assertRaises(DvcException):
6565
self.dvc.add("unsupported://unsupported")

tests/func/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def test_open(remote_url, tmp_dir, dvc):
6262

6363
@pytest.mark.parametrize("remote_url", all_remote_params, indirect=True)
6464
def test_open_external(remote_url, erepo_dir):
65-
erepo_dir.dvc.scm.checkout("branch")
65+
erepo_dir.scm.checkout("branch")
6666
_set_remote_url_and_commit(erepo_dir.dvc, remote_url)
67-
erepo_dir.dvc.scm.checkout("master")
67+
erepo_dir.scm.checkout("master")
6868
_set_remote_url_and_commit(erepo_dir.dvc, remote_url)
6969

7070
erepo_dir.dvc.push(all_branches=True)

0 commit comments

Comments
 (0)