Is the progress of being packaged for a Linux Distro NixOS NixOS/nixpkgs#65570, we had to exclude certain tests from the testsuite because they required network access.
Tests in question were:
test_check_token_detects_valid_hotp_token
test_check_token_detects_valid_totp_token
test_check_token_detects_invalid_token
This is because packages are prohibited from being built with network access in NixOS.
You may come to find that in many other Linux distros that it's a very common practice
to want to run tests within the source distribution.
This allows us to test that a package installed successfully with our build expressions and dependencies.
Prohibition of network access on builders is also common, in particular with Fedora
which is quite keen to packaging python libraries.
Is the progress of being packaged for a Linux Distro NixOS NixOS/nixpkgs#65570, we had to exclude certain tests from the testsuite because they required network access.
Tests in question were:
test_check_token_detects_valid_hotp_tokentest_check_token_detects_valid_totp_tokentest_check_token_detects_invalid_tokenThis is because packages are prohibited from being built with network access in NixOS.
You may come to find that in many other Linux distros that it's a very common practice
to want to run tests within the source distribution.
This allows us to test that a package installed successfully with our build expressions and dependencies.
Prohibition of network access on builders is also common, in particular with Fedora
which is quite keen to packaging python libraries.