# -*- coding: utf-8 -*-
"""Test Factory Module

This module contains the tests for the OpenRecords Application Factory
"""
import flask
import pytest

from app import create_app


@pytest.mark.skip(reason="Scheduler is not functioning and needs to be replaced.")
def test_default_config():
    """Test the default config class is the DevelopmentConfig"""
    assert isinstance(create_app(), flask.app.Flask)


def test_testing_config():
    """Test the app.testing variable is set when using the testing config."""
    assert create_app(config_name='testing').testing

# -*- coding: utf-8 -*-
"""Test Factory Module

This module contains the tests for the OpenRecords Application Factory
"""
import flask
import pytest

from app import create_app


@pytest.mark.skip(reason="Scheduler is not functioning and needs to be replaced.")
def test_default_config():
    """Test the default config class is the DevelopmentConfig"""
    assert isinstance(create_app(), flask.app.Flask)


def test_testing_config():
    """Test the app.testing variable is set when using the testing config."""
    assert create_app(config_name='testing').testing

# -*- coding: utf-8 -*- Test Factory Module  This module contains the tests for the OpenRecords Application Factory Test the default config class is the DevelopmentConfig Test the app.testing variable is set when using the testing config.