def test_get_start_date_empty_dir(self): """Should return start date equal to BP's start date when dir is empty""" self.assertEqual(START, get_start_date(self.EXISTANT_DIR))
def test_get_start_date_non_existant_dir(self): """Should return start date equal to BP's start date when dir doesn't exist""" path = os.path.join(BASEDIR, 'this_dir_does_not_exist') self.assertEqual(START, get_start_date(self.NON_EXISTANT_DIR))