diff --git a/tests/dir_helpers.py b/tests/dir_helpers.py index 39e28d4d7..1d9789790 100644 --- a/tests/dir_helpers.py +++ b/tests/dir_helpers.py @@ -90,7 +90,7 @@ class TmpDir(pathlib.Path): if commit: self.scm.commit(commit) - # Introspection mehtods + # Introspection methods def list(self): return [p.name for p in self.iterdir()] diff --git a/tests/func/test_add.py b/tests/func/test_add.py index 479589160..b0f77de35 100644 --- a/tests/func/test_add.py +++ b/tests/func/test_add.py @@ -59,7 +59,7 @@ class TestAdd(TestDvc): self.assertTrue(os.path.isfile(stage.path)) -class TestAddUnupportedFile(TestDvc): +class TestAddUnsupportedFile(TestDvc): def test(self): with self.assertRaises(DvcException): self.dvc.add("unsupported://unsupported") diff --git a/tests/func/test_api.py b/tests/func/test_api.py index 166d4e4e1..54623c080 100644 --- a/tests/func/test_api.py +++ b/tests/func/test_api.py @@ -62,9 +62,9 @@ def test_open(remote_url, tmp_dir, dvc): @pytest.mark.parametrize("remote_url", all_remote_params, indirect=True) def test_open_external(remote_url, erepo_dir): - erepo_dir.dvc.scm.checkout("branch") + erepo_dir.scm.checkout("branch") _set_remote_url_and_commit(erepo_dir.dvc, remote_url) - erepo_dir.dvc.scm.checkout("master") + erepo_dir.scm.checkout("master") _set_remote_url_and_commit(erepo_dir.dvc, remote_url) erepo_dir.dvc.push(all_branches=True)