def test_format_section_works_correctly_with_verbose(): rv = coursera_dl.format_section(9, "bill", "WEAVING", True) assert "WEAVING_09_bill" == rv
def test_format_section_works_correctly_with_verbose(): rv = coursera_dl.format_section(9, 'bill', 'WEAVING', True) assert 'WEAVING_09_bill' == rv
def test_format_section_works_correctly(): rv = coursera_dl.format_section(9, "bob", "WEAVING", False) assert "09_bob" == rv
def test_format_section_works_correctly(): rv = coursera_dl.format_section(9, 'bob', 'WEAVING', False) assert '09_bob' == rv
def test_format_section_works_correctly_with_verbose(): rv = coursera_dl.format_section(9, 'bill', 'WEAVING', True) assertEqual('WEAVING_09_bill', rv)
def test_format_section_works_correctly(): rv = coursera_dl.format_section(9, 'bob', 'WEAVING', False) assertEqual('09_bob', rv)
def test_format_section_works_correctly_with_verbose(self): rv = coursera_dl.format_section(9, 'bill', 'WEAVING', True) self.assertEqual('WEAVING_09_bill', rv)
def test_format_section_works_correctly(self): rv = coursera_dl.format_section(9, 'bob', 'WEAVING', False) self.assertEqual('09_bob', rv)