Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit e476c24

Browse files
committed
test: Add more examples for file sizes
1 parent 2e0390b commit e476c24

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/core/test_network.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ def test_get_html_page_with_selenium_bad_url(capsys) -> None:
9090
("file_url", "expected_size"),
9191
[
9292
("https://httpbin.org/bytes/1024", 1024),
93+
("https://httpbin.org/status/404", None),
94+
("https://www.gpcrmd.org//dynadb/files/Dynamics/10192_prm_12.tar.gz", 148841),
95+
("https://www.gpcrmd.org//dynadb/files/Dynamics/10205_dyn_13.pdb", 6984955),
96+
("https://www.gpcrmd.org//dynadb/files/Dynamics/10201_trj_13.xtc", 799818836),
97+
("https://www.gpcrmd.org//dynadb/files/Dynamics/non_existent_file.txt", None),
9398
],
9499
)
95100
@pytest.mark.network

0 commit comments

Comments
 (0)