Skip to content

Commit 8e80a6c

Browse files
committed
Let's remove this starter tests.py file and fix that issue of existing users asserts.
1 parent 2c3f831 commit 8e80a6c

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

src/ch14-testing/final/pypi_testing/pypi/tests.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/ch14-testing/final/pypi_testing/pypi/tests/account_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_register_validation_existing_user(self):
4747

4848
# Assert:
4949
self.assertIsNotNone(vm.error)
50-
self.assertIsNotNone('existing' in vm.error)
50+
self.assertTrue('exist' in vm.error)
5151

5252
def test_register_validation_no_email(self):
5353
# Arrange

0 commit comments

Comments
 (0)