Re: Alternative solution
On 09/07/2016 07:43 AM, Christian Seiler wrote:
> However, instead of disabling the test via a patch, [...]
Yet another solution would be to upstream a patch that adds the
@unittest.skipIf(os.getenv('TESTS_NO_NETWORK_ACCESS') == '1',
'No network access allowed in test suite')
decorator for all tests that are affected. While a full skip is
not something upstream will want to merge, any reasonable
upstream should be willing to merge this conditional skip. Then
just set the environment variable in debian/rules and you don't
need to carry a patch.
Regards,
Christian
Reply to: