# 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

@@ -131,19 +131,8 @@
 ls%0A%0A
-import os%0A%0A
 from
@@ -205,45 +205,8 @@
 ig%0A%0A
-BASEDIR = os.path.dirname(__file__)%0A%0A
 %0Acla
@@ -273,16 +273,16 @@
 tConfig%0A
+
     no_l
@@ -298,164 +298,4 @@
 lse%0A
-%0A    def assert_302(self, response):%0A        assert response.status_core == 302%0A%0A    def assert_204(self, response):%0A        assert response.status_core == 204%0A

remove buggy / unneeded code.