From 8ac45f771250ab7216a1257d2bf79e17c546956e Mon Sep 17 00:00:00 2001 From: Glenn Matthews Date: Fri, 17 Mar 2017 13:55:38 -0400 Subject: [PATCH] Fix download_and_expand UT assumption invalidated by 2.0.0 release --- CHANGELOG.rst | 11 +++++++++++ COT/helpers/tests/test_helper.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 990fb20..a3da1ca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,16 @@ Change Log All notable changes to the COT project will be documented in this file. This project adheres to `Semantic Versioning`_. +`2.0.1`_ - 2017-03-17 +--------------------- + +**Fixed** + +- One unit test case, + COT.helpers.tests.test_helper.HelperGenericTest.test_download_and_expand_tgz, + was failing after 2.0.0 was released, due to its assumptions about the + contents of the master repo on GitHub no longer being valid. Fixed now. + `2.0.0`_ - 2017-03-17 --------------------- @@ -774,6 +784,7 @@ Initial public release. .. _verboselogs: https://verboselogs.readthedocs.io/en/latest/ .. _Unreleased: https://github.com/glennmatthews/cot/compare/master...develop +.. _2.0.1: https://github.com/glennmatthews/cot/compare/v2.0.0...v2.0.1 .. _2.0.0: https://github.com/glennmatthews/cot/compare/v1.9.1...v2.0.0 .. _1.9.1: https://github.com/glennmatthews/cot/compare/v1.9.0...v1.9.1 .. _1.9.0: https://github.com/glennmatthews/cot/compare/v1.8.2...v1.9.0 diff --git a/COT/helpers/tests/test_helper.py b/COT/helpers/tests/test_helper.py index 0d18840..4d7f047 100644 --- a/COT/helpers/tests/test_helper.py +++ b/COT/helpers/tests/test_helper.py @@ -433,7 +433,7 @@ def test_download_and_expand_tgz(self): os.path.join(directory, "cot-master", "COT", "tests"))) self.assertTrue(os.path.exists( os.path.join(directory, "cot-master", "COT", "tests", - "ut.py"))) + "cot_testcase.py"))) except requests.exceptions.ConnectionError: # unable to connect to github - might be an isolated environment self.fail("ConnectionError when trying to download from GitHub")