File: rules

package info (click to toggle)
python-pytest-socket 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 296 kB
  • sloc: python: 663; makefile: 37
file content (17 lines) | stat: -rwxr-xr-x 578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=pytest-socket

# Disable tests requiring network access
export PYBUILD_TEST_ARGS = \
	-k 'not test_parametrize_with_socket_enabled_and_allow_hosts \
	and not test_global_disable_and_allow_host \
	and not test_single_cli_arg_connect_disabled_hostname_resolved \
	and not test_default_urlopen_succeeds_by_default \
	and not test_single_cli_arg_urlopen_enabled \
	and not test_single_mark_arg_urlopen_enabled \
	and not test_urllib_succeeds_by_default \
	and not test_enabled_urllib_succeeds'

%:
	dh $@ --with python3 --buildsystem=pybuild