def test_get_cards_when_force(self):
        """Returns response for learning when force mode but no cards"""
        npi = self.getNextPracticeTemplate()

        delayCard(1)
        delayCard(2)
        itms = npi.get(npi.request,deck_id=1,force=True)
        text = str(itms.render())

        assert_equals("learning" in text, True)
dataset/ETHPy150Open DummyDivision/Tsune/deckglue/tests.py/NextPracticeTemplateTest.test_get_cards_when_force/original