Commit c35c525b authored by Pavel Savchenko's avatar Pavel Savchenko Committed by Nick Groenen

Tests: use conftest module to specify testbot fixture location

- imports of testbot are now removed and my linter is happy
parent 9a2e3ec1
pytest_plugins = ['errbot.backends.test']
......@@ -10,8 +10,6 @@ from tempfile import mkdtemp
import pytest
import tarfile
from errbot.backends.test import testbot # noqa
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'dummy_plugin')
......
import os
from errbot.backends.test import testbot # noqa
extra_plugin_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'room_plugin')
extra_config = {'CORE_PLUGINS': ('Help', 'Utils'), 'BOT_ALT_PREFIXES': ('!',), 'BOT_PREFIX': '$'}
......
import os
from errbot.backends.test import testbot # noqa
extra_plugin_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'dependent_plugins')
......
from os import path
from errbot.backends.test import testbot # noqa
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'dyna_plugin')
......
......@@ -3,8 +3,6 @@ from queue import Empty
import pytest
from errbot.backends.test import testbot
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'flow_plugin')
......
# -*- coding=utf-8 -*-
from os import path
from errbot.backends.test import testbot
# This is to test end2end i18n behavior.
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'i18n_plugin')
......
from errbot.backends.test import testbot
from os import path
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'mention_plugin')
......
import os
import errbot.backends.base
from errbot.backends.test import testbot, TestOccupant
from errbot.backends.test import TestOccupant
import logging
log = logging.getLogger(__name__)
......
from os import path
import pytest
from errbot.backends.test import testbot
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'fail_config_plugin')
......
from os import path
import pytest
from errbot.backends.test import testbot
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'config_plugin')
......
from errbot.backends.test import testbot
from os import path
extra_plugin_dir = path.join(path.dirname(path.realpath(__file__)), 'syntax_plugin')
......
from os import path
from errbot.backends.test import testbot
# This is to test end2end i18n behavior.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment