Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 5a0191b6 authored by Zeke Hendrickson's avatar Zeke Hendrickson Committed by Rob Carleski
Browse files

test: use flattened namespace, not direct import

This appears to be the intended API, so that's what we should be
testing (so that it's not, say, accidentally broken.)
parent d4a84f5b
from .mcommunity import MCommClient
from .core import MCommError
from .mcommunity import MCommClient # noqa: F401
from .core import MCommError # noqa: F401
......@@ -2,5 +2,5 @@
test=pytest
[tool:pytest]
addopts=-v --pep8
pep8maxlinelength=160
addopts=-v --flake8
flake8-max-line-length=160
......@@ -11,7 +11,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
test_deps = [
'pytest',
'pytest-pep8',
'pytest-flake8',
'flask',
]
......
pytest_plugins = "pep8"
......@@ -2,7 +2,7 @@ import json
import os
import pytest
from unittest import mock
from mcommunity.mcommunity import MCommClient
from mcommunity import MCommClient
data_dir = os.path.join(os.path.dirname(__file__) + '/data/')
......
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