Make tox work in a fresh scenario 19/33919/3
authorMichael Hwang <mhwang@research.att.com>
Sat, 3 Mar 2018 01:46:21 +0000 (20:46 -0500)
committerMichael Hwang <mhwang@research.att.com>
Fri, 9 Mar 2018 21:25:24 +0000 (16:25 -0500)
commitb11dae55f54720759431107e83f1070c10aacd96
treedda6037b9301cbd20300bd566485cf4463124f4c
parent141bcd47087b39d2ac3846ace864b9d9b0706ff5
Make tox work in a fresh scenario

Severing the unit tests from the local config dependency
meant refactoring code that made pure unit testing
impossible. Introduced a conftest in this commit.

Change-Id: Id005b8b5b0704ccac33fa8768be1642941281f34
Issue-ID: DCAEGEN2-372
Signed-off-by: Michael Hwang <mhwang@research.att.com>
14 files changed:
dcae-cli/.gitignore
dcae-cli/ChangeLog.md
dcae-cli/dcae_cli/_version.py
dcae-cli/dcae_cli/catalog/mock/schema.py
dcae-cli/dcae_cli/catalog/mock/tests/test_mock_catalog.py
dcae-cli/dcae_cli/catalog/mock/tests/test_schema.py
dcae-cli/dcae_cli/commands/tests/test_component_cmd.py
dcae-cli/dcae_cli/commands/tests/test_data_format_cmd.py
dcae-cli/dcae_cli/conftest.py [new file with mode: 0644]
dcae-cli/dcae_cli/util/discovery.py
dcae-cli/dcae_cli/util/run.py
dcae-cli/dcae_cli/util/tests/test_discovery.py
dcae-cli/pom.xml
dcae-cli/tox.ini