Skip to content

Commit

Permalink
Remove tests for veracity
Browse files Browse the repository at this point in the history
  • Loading branch information
robtaylor committed Oct 4, 2024
1 parent a8966bd commit 08d2c67
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions doorstop/core/vcs/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,45 +124,6 @@ def test_commit(self, mock_call):
mock_call.assert_has_calls(calls)


@patch("subprocess.call")
class TestVeracity(BaseTestCase, unittest.TestCase):
"""Tests for the Veracity plugin."""

DIRECTORY = ".sgdrawer"

def test_lock(self, mock_call):
"""Verify Veracity can lock files."""
self.lock()
calls = [call(("vv", "pull")), call(("vv", "update"))]
mock_call.assert_has_calls(calls)

def test_edit(self, mock_call):
"""Verify Veracity can (fake) edit files."""
self.edit()
mock_call.assert_has_calls([])

def test_add(self, mock_call):
"""Verify Veracity can add files."""
self.add()
calls = [call(("vv", "add", self.path))]
mock_call.assert_has_calls(calls)

def test_delete(self, mock_call):
"""Verify Veracity can delete files."""
self.delete()
calls = [call(("vv", "remove", self.path))]
mock_call.assert_has_calls(calls)

def test_commit(self, mock_call):
"""Verify Veracity can commit files."""
self.commit()
calls = [
call(("vv", "commit", "--message", self.message)),
call(("vv", "push")),
]
mock_call.assert_has_calls(calls)


@patch("subprocess.call")
class TestMercurial(BaseTestCase, unittest.TestCase):
"""Tests for the Mercurial plugin."""
Expand Down

0 comments on commit 08d2c67

Please sign in to comment.