Skip to content

Commit

Permalink
move charm source to src
Browse files Browse the repository at this point in the history
  • Loading branch information
Xav Paice committed Aug 5, 2020
1 parent c5a5bd2 commit 7b85032
Show file tree
Hide file tree
Showing 28 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/unit/test_actions.py → src/tests/unit/test_actions.py
Expand Up @@ -13,7 +13,7 @@ class TestActions():

def test_action_apply_changes_apply_config(self, advanced_routing_helper):
"""Test action apply changes."""
import apply_changes
import actions.apply_changes

def noop():
pass
Expand All @@ -27,4 +27,4 @@ def noop():
routing_validator.RoutingConfigValidator.__init__ = mock.Mock(return_value=None)
test_obj.setup()

assert apply_changes.apply_config()
assert actions.apply_changes.apply_config()
4 changes: 2 additions & 2 deletions tox.ini → src/tox.ini
Expand Up @@ -25,7 +25,7 @@ passenv =
[testenv:lint]
commands =
flake8
black --check --exclude "/(\.eggs|\.git|\.tox|\.venv|\.build|dist|charmhelpers|mod)/" .
# TODO black --check --exclude "/(\.eggs|\.git|\.tox|\.venv|\.build|dist|charmhelpers|mod)/" .
deps =
black
flake8
Expand All @@ -42,7 +42,7 @@ exclude =
charmhelpers,
mod,
.build

ignore = D401,E501,W503 # TODO
max-line-length = 88
max-complexity = 10

Expand Down
File renamed without changes.

0 comments on commit 7b85032

Please sign in to comment.