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 @@
addopts=-v --pep8
addopts=-v --flake8
......@@ -11,7 +11,7 @@ with open(os.path.join(os.path.dirname(__file__), ''), 'r') as f:
test_deps = [
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/')
Supports Markdown
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