'Test that GET with team_slug passed returns correct response.'

def test_get_with_team_filter(self):

    alice = self.make_participant('alice', claimed_time='now')
    Enterprise = self.make_team('The    Enterprise', is_approved=True)
    Trident = self.make_team('The    Trident', is_approved=True)
    alice.set_payment_instruction(Enterprise, '10.0')
    alice.set_payment_instruction(Trident, '12.0')
    data = json.loads(self.client.GET(('~/alice/payment-instructions.json?team_slug=' + Enterprise.slug), auth_as='alice').body)
    assert (data['team_slug'] == Enterprise.slug)
    assert (data['team_name'] == Enterprise.name)
    assert (data['amount'] == '10.00')
    assert ('ctime' in data)
    assert ('mtime' in data)
    assert ('due' in data)
