# coding=utf-8
"""
Base TestCase for integration tests.
"""
from __future__ import absolute_import, print_function, unicode_literals

import os

from abilian.testing import BaseTestCase

from .config import TestConfig

BASEDIR = os.path.dirname(__file__)


class IntegrationTestCase(BaseTestCase):
    config_class = TestConfig
    no_login = False

    def assert_302(self, response):
        assert response.status_core == 302

    def assert_204(self, response):
        assert response.status_core == 204

# coding=utf-8
"""
Base TestCase for integration tests.
"""
from __future__ import absolute_import, print_function, unicode_literals

from abilian.testing import BaseTestCase

from .config import TestConfig


class IntegrationTestCase(BaseTestCase):
    config_class = TestConfig
    no_login = False

remove buggy / unneeded code.