def test_get_cards_when_cards_due(self):
        """Returns response for learning when cards are due"""
        npi = npi = self.getNextPracticeTemplate()

        makeCardDue(1,10)
        itms = npi.get(npi.request,deck_id=1)
        text = str(itms.render())

        assert_equals(text in "learning", True)
dataset/ETHPy150Open DummyDivision/Tsune/deckglue/tests.py/NextPracticeTemplateTest.test_get_cards_when_cards_due/swapped operands of `in`