mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-22 07:18:28 +01:00
Update tests/test_remote.py
test_overwrite: fix case of none-zero result on initial stage Co-Authored-By: puhoshville <[email protected]>
This commit is contained in:
co-authored by
puhoshville
parent
06052a8f6a
commit
180b844f46
@@ -60,7 +60,7 @@ class TestRemote(TestDvc):
|
||||
def test_overwrite(self):
|
||||
remote_name = "a"
|
||||
remote_url = "s3://bucket/name"
|
||||
main(["remote", "add", remote_name, remote_url])
|
||||
self.assertEqual(main(["remote", "add", remote_name, remote_url]), 0)
|
||||
self.assertEqual(main(["remote", "add", remote_name, remote_url]), 1)
|
||||
self.assertEqual(
|
||||
main(["remote", "add", "-f", remote_name, remote_url]), 0
|
||||
|
||||
Reference in New Issue
Block a user