Skip to content
Snippets Groups Projects
Commit 28b3e933 authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Add test to showcase sequence issues when adding moves

parent 44426b08
No related branches found
No related tags found
1 merge request!13Fix sequence issues when creating alternate moves
Pipeline #62545 failed
This commit is part of merge request !13. Comments created here will be created in the context of that merge request.
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
Modernize tests. Modernize tests.
Fix sequence issues when creating alternate moves.
16.0.1.0.0 16.0.1.0.0
========== ==========
......
...@@ -61,6 +61,10 @@ ...@@ -61,6 +61,10 @@
) )
self.assertEqual(self._count_moves(), 1) self.assertEqual(self._count_moves(), 1)
def test_copy(self):
self.move.copy()
self.assertEqual(self._count_moves(), 2)
def test_delete(self): def test_delete(self):
self.assertTrue(self.move.unlink()) self.assertTrue(self.move.unlink())
self.assertEqual(self._count_moves(), 0) self.assertEqual(self._count_moves(), 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment