def test_reverse_produces_correct_url_prefix(self):
    translation.activate('en-GB')
    url = reverse('payments:completed')
    self.assertTrue(url.startswith('/en-GB/'))
    translation.deactivate()
def test_reverse_produces_correct_url_prefix(self):
    translation.activate('en-GB')
    url = reverse('payments:completed')
    self.assertTrue(url.startswith('/en-GB/'))
    translation.deactivate()