コード例 #1
0
def test_ebook_size_non_existant_language_and_year_is_zero():
    assert get_ebook_size_in_mb('rubbish', 'rubbish') == 0
コード例 #2
0
def test_all_configured_ebooks_at_least_16_mb(config):
    assert get_ebook_size_in_mb(config[0], config[1]) > 16
コード例 #3
0
def test_ebook_size_non_existant_year_is_zero():
    assert get_ebook_size_in_mb('en', 'rubbish') == 0
コード例 #4
0
def test_en_ebook_size_at_least_16_mb():
    assert get_ebook_size_in_mb('en', '2019') > 16