Skip to content

Fix duplicate test names preventing test runs.#134

Merged
jordaneremieff merged 2 commits intoKludex:mainfrom
a-feld:repair-pytest-tests
Aug 9, 2020
Merged

Fix duplicate test names preventing test runs.#134
jordaneremieff merged 2 commits intoKludex:mainfrom
a-feld:repair-pytest-tests

Conversation

@a-feld
Copy link
Copy Markdown
Contributor

@a-feld a-feld commented Aug 8, 2020

Hi there, this project is super cool! ❤️

While I was looking through the code, I noticed that there was a re-declaration of a test (test_http_request was declared twice in test_http.py [1 2]) which was preventing one of the tests from running.

This PR renames the duplicate test and fixes the resulting test failure that was exposed!

Also, I noticed the test_http_response_headers test appears to be duplicated so I removed the duplicate.

@twcurrie
Copy link
Copy Markdown

twcurrie commented Aug 8, 2020

Nice find!

@jordaneremieff
Copy link
Copy Markdown
Collaborator

Good catch, thank you!

@jordaneremieff jordaneremieff merged commit 7e10290 into Kludex:main Aug 9, 2020
@a-feld a-feld deleted the repair-pytest-tests branch August 9, 2020 18:04
four43 pushed a commit to four43/mangum that referenced this pull request Mar 27, 2021
* Fix duplicate test_http_request preventing test runs.

* Remove duplicate http response headers test.
four43 pushed a commit to four43/mangum that referenced this pull request Aug 20, 2021
* Fix duplicate test_http_request preventing test runs.

* Remove duplicate http response headers test.
khamaileon pushed a commit to khamaileon/mangum that referenced this pull request Jan 13, 2024
* Fix duplicate test_http_request preventing test runs.

* Remove duplicate http response headers test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants