Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:3dprinting
python-Flask-Assets
denose.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File denose.patch of Package python-Flask-Assets
--- tests/__init__.py | 2 +- tests/test_config.py | 2 +- tests/test_integration.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) Index: Flask-Assets-2.1.0/tests/__init__.py =================================================================== --- Flask-Assets-2.1.0.orig/tests/__init__.py +++ Flask-Assets-2.1.0/tests/__init__.py @@ -2,7 +2,7 @@ import sys, os # In order to test the Flask-Script command, Flask-Script needs to be # installed. If this is the case, we won't be able to import from our -# local src/flaskext directory that nose puts on sys.path, due to the +# local src/flaskext directory that pytest puts on sys.path, due to the # way Flask extensions employ pkg_resources to have multiple directories # contribute to the same module. We fix it by manually adding the # directory to an already existing virtual flaskext module. Index: Flask-Assets-2.1.0/tests/test_config.py =================================================================== --- Flask-Assets-2.1.0.orig/tests/test_config.py +++ Flask-Assets-2.1.0/tests/test_config.py @@ -22,7 +22,7 @@ class TestConfigAppBound: """The extension is bound to a specific app. """ - def setup(self): + def setup_method(self): self.app = Flask(__name__) self.env = Environment(self.app) @@ -66,7 +66,7 @@ class TestConfigNoAppBound: """The application is not bound to a specific app. """ - def setup(self): + def setup_method(self): self.env = Environment() def test_no_app_available(self): Index: Flask-Assets-2.1.0/tests/test_integration.py =================================================================== --- Flask-Assets-2.1.0.orig/tests/test_integration.py +++ Flask-Assets-2.1.0/tests/test_integration.py @@ -26,8 +26,8 @@ class TestUrlAndDirectory(TempEnvironmen Let's test the different scenarios to ensure everything works. """ - def setup(self): - TempEnvironmentHelper.setup(self) + def setup_method(self): + TempEnvironmentHelper.setup_method(self) self.app = Flask(__name__, static_url_path='/app_static') from tests import test_module @@ -152,7 +152,7 @@ class TestUrlAndDirectoryWithInitApp(obj values also work if the application is initialized via "init_app()". """ - def setup(self): + def setup_method(self): self.app = Flask(__name__, static_url_path='/initapp_static') self.env = Environment() self.env.init_app(self.app) Index: Flask-Assets-2.1.0/tests/test_env.py =================================================================== --- Flask-Assets-2.1.0.orig/tests/test_env.py +++ Flask-Assets-2.1.0/tests/test_env.py @@ -6,7 +6,7 @@ from flask_assets import Environment, Bu class TestEnv: - def setup(self): + def setup_method(self): self.app = Flask(__name__) self.env = Environment(self.app) self.env.debug = True
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