Here are the examples of the python api flask.ext.oldext_package.submodule.test_function taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
4 Examples
0
Example 1
def test_flaskext_new_package_import_submodule_function(self):
from flask.ext.newext_package.submodule import test_function
self.assert_equal(test_function(), 42)
0
Example 2
def test_flaskext_old_package_import_submodule_function(self):
from flask.ext.oldext_package.submodule import test_function
self.assert_equal(test_function(), 42)
0
Example 3
Project: flask Source File: test_ext.py
Function: test_flaskext_new_package_import_submodule_function
Function: test_flaskext_new_package_import_submodule_function
def test_flaskext_new_package_import_submodule_function(newext_package):
from flask.ext.newext_package.submodule import test_function
assert test_function() == 42
0
Example 4
Project: flask Source File: test_ext.py
Function: test_flaskext_old_package_import_submodule_function
Function: test_flaskext_old_package_import_submodule_function
def test_flaskext_old_package_import_submodule_function(oldext_package):
from flask.ext.oldext_package.submodule import test_function
assert test_function() == 42