UT 78% dcaepolicy plugin 21/15721/1
authorAlex Shatov <alexs@att.com>
Tue, 26 Sep 2017 20:58:37 +0000 (16:58 -0400)
committerAlex Shatov <alexs@att.com>
Tue, 26 Sep 2017 20:58:37 +0000 (16:58 -0400)
commit527c5898823398d3f8bd1306e4902214bfd3dbe7
treeb90cb894abee3b90bef5b6498beb361ba7347d08
parentd38e228959de388f0ed6d1876e8392e18f17006a
UT 78% dcaepolicy plugin

* unit test withcoverage of 78 %
* minor refactoring for lazy init for discovery - useful for UT

Change-Id: I7bee1d5dc5c66477c6e8f19484b0179d5f726fe0
Issue-Id: DCAEGEN2-62
Signed-off-by: Alex Shatov <alexs@att.com>
dcae-policy/.coveragerc [new file with mode: 0644]
dcae-policy/dcaepolicyplugin/tasks.py
dcae-policy/tests/log_ctx.py [new file with mode: 0644]
dcae-policy/tests/mock_cloudify_ctx.py [new file with mode: 0644]
dcae-policy/tests/test_tasks.py [new file with mode: 0644]
dcae-policy/tox-local.ini [new file with mode: 0644]
dcae-policy/tox.ini [new file with mode: 0644]