hjwp / hjwp/Book-TDD-Web-Dev-Python

ch07l006 - Useless assertion

Open
#113 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
514
Forks
175
PR merge metrics
No merged PRs in 30d

Description

In ch07l006, there is an useless assertion that sneaked in.

Basically, that test:
```python
self.assertNotIn('make a fly', page_text)
```
is useless because in `test_multiple_users_can_start_lists_at_different_urls` Edith did not create a second list item with `...make a fly`. So that particular assertion would never fail and just brings a little bit of confusion.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.