test_factory.py

About this file

This file tests whether the created app instance is set to development or test configuration. If test configuration is explicitly set, the testing variable should be set.

Code Issues

  • No issues to report.

Code Check Report


No problems to report
                        

Documentation drawn from source code

Test Factory Module

This module contains the tests for the OpenRecords Application Factory


test_default_config():
Test the default config class is the DevelopmentConfig

test_testing_config():
Test the app.testing variable is set when using the testing config.

Source code