Reduce tests which require the network #990
Labels
help wanted
Request help from the community
refactor
Refactoring code
tests
Testing and related things
What's the problem this feature will solve?
Currently, we have 13 tests that require the internet. We could reduce this number to 3. All tests marked as
@pytest.mark.network
could be refactored to use local packagesmall-fake-with-deps
, except probably those tests, which related to URL/VCS packages:or do realistic (functional) tests, which is
test_realistic_complex_sub_dependencies
.Describe the solution you'd like
six
andsetuptools
requirements withsmall-fake-a
andsmall-fake-b
intests/test_data/packages/small_fake_with_deps/setup.py
small-fake-with-deps
package:small-fake-with-deps
fromtest_url_package
to a separate testtest_local_url_package
and replacesix
tosmall-fake-a
.small-fake-with-deps-a
package and its wheels, and refactortest_annotate_option
to usesmall-fake-with-deps
.Alternative Solutions
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: