Fix test failure

This commit is contained in:
Carl van Tonder 2018-09-22 22:25:22 -04:00 committed by Naomi
parent b648c28d70
commit a49c4224a9

View File

@ -96,7 +96,7 @@ class CaseStudyTests(TestCase):
def test_get_renewable_generation_detail_with_wind(self): def test_get_renewable_generation_detail_with_wind(self):
"""get_renewable_generation_detail() should return the description prefixed with 'wind power'""" """get_renewable_generation_detail() should return the description prefixed with 'wind power'"""
case_study = CaseStudy(generation_technology='SSWE') case_study = CaseStudy(generation_technology='SSWE')
self.assertEqual(case_study.get_renewable_generation_detail(), "Wind energy Small-scale (less than 500kW)") self.assertEqual(case_study.get_renewable_generation_detail(), "Wind energy Small-scale (less than 500 kW)")
def test_get_renewable_generation_detail_with_other(self): def test_get_renewable_generation_detail_with_other(self):
"""get_renewable_generation_detail() should return the detail provided in .generation_technology_other""" """get_renewable_generation_detail() should return the detail provided in .generation_technology_other"""