aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_binding.py
AgeCommit message (Collapse)AuthorFilesLines
2021-12-02run the black formatting tool on python codeHansen, Tony (th1395)1-22/+63
also fix up some copyright & license block lines Change-Id: Ifb628e2ef1e5f13fed0a29964eec387d3982d605 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2995 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2021-07-01Fix pytest failure if http_proxy is setSatoshi Fujii1-1/+12
Test "tests.test_binding.test_resolve_all" (in test_binding.py) fails if proxy environment variable http_proxy is set. httpretty mock is ignored and an actual request is sent to non-existing address. By this change proxy variable is unset during the test. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2834 Change-Id: Ie0d4bc41f6f83d7cfdd3abaa3266ff8ac5a91c2e
2021-06-18Remove unused codeSatoshi Fujii1-17/+0
Just remove unused code Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2833 Change-Id: If81a5fcb918a2683e261807d6a3da5a8648e505d
2021-06-18Remove unused imports and bump version to 2.3.0Satoshi Fujii1-14/+1
Remove unused import statements from script. Bumped up version to 2.3.0. Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Issue-ID: DCAEGEN2-2833 Change-Id: I015e89f1b56ca12483e432bf67123f33140d722c
2021-04-09Dependencies update: Wheel, PyYAML, httplib2, HTTPrettyAlexander Mazuruk1-10/+1
Changelogs of updated pkgs: https://wheel.readthedocs.io/en/stable/news.html https://github.com/yaml/pyyaml/blob/master/CHANGES https://github.com/httplib2/httplib2/blob/master/CHANGELOG https://httpretty.readthedocs.io/en/latest/changelog.html Additionally resolved some warnings reported by tox: - remove unused func from tests that used deprecated python lib. - change collections import to collections.abc Issue-ID: DCAEGEN2-2720 Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com> Change-Id: I1dadbe9e6e410bdec1a06ea7c69e49576551218b
2020-01-31increase code coverageHansen, Tony (th1395)1-4/+1
Change-Id: I30632d2e34401f8eff6e67b9b3d8abba32e80050 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-1902 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2019-11-25Fix relative imports and invalid exception handlingMiroslav Los1-5/+5
Make proper relative or absolute imports within miss_htbt_service. Use proper except Class as variable syntax. Avoid multiple parameters to print() for potential python2 usage. Add missing original AT&T license text to test modules. Add attribution to commiter's employer to modified files. Trailing whitespace fixes. Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-1939 Change-Id: Ibfc4bea3e33a512d06a41050ba5e591121eb9454
2019-01-28Heartbeat Microservice SupportPrakashH1-61/+6
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I0fd191b2a3495202e22f633ada4a1350a97557ad Signed-off-by: PrakashH <pbhandar@techmahindra.com>
2018-12-12Heartbeat Microservice SupportSrikanthNaidu1-11/+75
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9 Signed-off-by: SrikanthNaidu <sn8492@att.com>
2018-05-22Miss HB CBS integrationGokul Singaraju1-24/+21
Issue-ID: DCAEGEN2-279 Change-Id: I3f78e0870d4c620a304fb8d218f1d30187b4fbef Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-05-01Pass urls topics in docker envGokul Singaraju1-1/+1
Issue-ID: DCAEGEN2-278 Change-Id: Ib0fa11fc5a7ff47f54056f3c198a47120b3f73a8 Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-03-27Added tests for heartbeat coverageGokul Singaraju1-19/+60
Issue-ID: DCAEGEN2-276 Change-Id: Ib0fa11fc5978f47854056f3c198347120b3873a8 Signed-off-by: Gokul Singaraju <gs244f@att.com>
2018-03-05Missing heartbeat microserviceJessica Wagantall1-0/+51
Issue-ID: DCAEGEN2-275 Change-Id: I2a2def9aef7664b58c6c3b74318343699fbf6c22 Signed-Off-by: Gokul Singaraju <gs244f@att.com>