Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python-aioresponses
disable-online-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable-online-test.patch of Package python-aioresponses
diff -Nru aioresponses-0.5.0.orig/tests/test_aioresponses.py aioresponses-0.5.0/tests/test_aioresponses.py --- aioresponses-0.5.0.orig/tests/test_aioresponses.py 2018-09-27 18:47:03.000000000 +0200 +++ aioresponses-0.5.0/tests/test_aioresponses.py 2018-11-19 17:26:55.589542083 +0100 @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +import os import asyncio import re from typing import Coroutine, Generator, Union @@ -223,6 +224,8 @@ @asyncio.coroutine def test_address_as_instance_of_url_combined_with_pass_through(self): + if os.path.exists('/.buildenv'): + return external_api = 'http://httpbin.org/status/201' @asyncio.coroutine
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor