def test_moped_search(self): self.assertEquals( simplify_search_query( { u'track_name': [u'explosions in the sky'], u'any': [u'explosions in the sky'] } ), 'explosions in the sky explosions in the sky' )
def test_aria_search(self): self.assertEquals(simplify_search_query(['explosions', 'in the sky']), 'explosions in the sky')
def test_simple_search(self): self.assertEquals(simplify_search_query('explosions in the sky'), 'explosions in the sky')
def test_moped_search(self): self.assertEquals( simplify_search_query({ u'track_name': [u'explosions in the sky'], u'any': [u'explosions in the sky'] }), 'explosions in the sky explosions in the sky')
def test_mpc_search(self): self.assertEquals( simplify_search_query({u'any': [u'explosions in the sky']}), 'explosions in the sky')
def test_aria_search(self): assert (simplify_search_query(["explosions", "in the sky" ]) == "explosions in the sky")
def test_simple_search(self): assert (simplify_search_query("explosions in the sky") == "explosions in the sky")
def test_moped_search(self): assert (simplify_search_query({ "track_name": ["explosions in the sky"], "any": ["explosions in the sky"], }) == "explosions in the sky explosions in the sky")
def test_mpc_search(self): assert (simplify_search_query({"any": ["explosions in the sky"] }) == "explosions in the sky")
def test_aria_search(self): self.assertEquals( simplify_search_query(['explosions', 'in the sky']), 'explosions in the sky' )
def test_simple_search(self): self.assertEquals( simplify_search_query('explosions in the sky'), 'explosions in the sky' )
def test_mpc_search(self): self.assertEquals( simplify_search_query({u'any': [u'explosions in the sky']}), 'explosions in the sky' )