def test_we_dont_have_enough_cookies(self): cj = cookies.find_cookies_for_class( FIREFOX_COOKIES_WITHOUT_COURSERA, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') self.assertFalse(enough)
def test_we_dont_have_enough_cookies(): cj = cookies.find_cookies_for_class(FIREFOX_COOKIES_WITHOUT_COURSERA, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') assert not enough
def test_we_have_enough_cookies(self): cj = cookies.find_cookies_for_class(FIREFOX_COOKIES, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') self.assertTrue(enough)
def test_we_have_enough_cookies(): cj = cookies.find_cookies_for_class(FIREFOX_COOKIES, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') assert enough
def test_we_dont_have_enough_cookies(self): cj = cookies.find_cookies_for_class( FIREFOX_COOKIES_WITHOUT_COURSERA, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') self.assertFalse(enough)
def test_we_have_enough_cookies(self): cj = cookies.find_cookies_for_class(FIREFOX_COOKIES, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') self.assertTrue(enough)
def test_we_dont_have_enough_cookies(): cj = cookies.find_cookies_for_class( FIREFOX_COOKIES_WITHOUT_COURSERA, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') assert not enough
def test_we_have_enough_cookies(): cj = cookies.find_cookies_for_class(FIREFOX_COOKIES, 'class-001') enough = cookies.do_we_have_enough_cookies(cj, 'class-001') assert enough