Esempio n. 1
0
def test_format_section_works_correctly_with_verbose():
    rv = coursera_dl.format_section(9, "bill", "WEAVING", True)
    assert "WEAVING_09_bill" == rv
Esempio n. 2
0
def test_format_section_works_correctly_with_verbose():
    rv = coursera_dl.format_section(9, 'bill', 'WEAVING', True)
    assert 'WEAVING_09_bill' == rv
Esempio n. 3
0
def test_format_section_works_correctly():
    rv = coursera_dl.format_section(9, "bob", "WEAVING", False)
    assert "09_bob" == rv
Esempio n. 4
0
def test_format_section_works_correctly():
    rv = coursera_dl.format_section(9, 'bob', 'WEAVING', False)
    assert '09_bob' == rv
Esempio n. 5
0
def test_format_section_works_correctly_with_verbose():
    rv = coursera_dl.format_section(9, 'bill', 'WEAVING', True)
    assertEqual('WEAVING_09_bill', rv)
Esempio n. 6
0
def test_format_section_works_correctly():
    rv = coursera_dl.format_section(9, 'bob', 'WEAVING', False)
    assertEqual('09_bob', rv)
Esempio n. 7
0
 def test_format_section_works_correctly_with_verbose(self):
     rv = coursera_dl.format_section(9, 'bill', 'WEAVING', True)
     self.assertEqual('WEAVING_09_bill', rv)
Esempio n. 8
0
 def test_format_section_works_correctly(self):
     rv = coursera_dl.format_section(9, 'bob', 'WEAVING', False)
     self.assertEqual('09_bob', rv)