flask.ext.oldext_package.submodule.test_function

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 7

Example 1

Project: ReproWeb Source File: ext.py
Function: test_flaskext_new_package_import_submodule_function
    def test_flaskext_new_package_import_submodule_function(self):
        from flask.ext.newext_package.submodule import test_function
        self.assert_equal(test_function(), 42)

Example 2

Project: ReproWeb Source File: ext.py
Function: test_flaskext_old_package_import_submodule_function
    def test_flaskext_old_package_import_submodule_function(self):
        from flask.ext.oldext_package.submodule import test_function
        self.assert_equal(test_function(), 42)

Example 3

Project: flask Source File: test_ext.py
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

Example 4

Project: flask Source File: test_ext.py
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