def randomep(inp): #"Shows a random episode of My Little Pony: Friendship is Magic" ep = ponyapi.random() seasonep = "" if ep[u"is_movie"]: seasonep = "(a movie)" else: seasonep = "(season %d episode %d)" % (ep[u"season"], ep[u"episode"]) return "%s %s" % (ep[u"name"], seasonep)
def test_random(self): ponyapi.random()