def test_get_success_url(self):
        view = views.InviteCreateView()
        view.request = self.request
        result = view.get_success_url()
        self.assertEqual(result, reverse('invites'))
Should raise FileNotFoundError when environment does not exist
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/InviteCreateViewTest.test_get_success_url--crossover with--dataset/ETHPy150Open tobami/littlechef/tests/test_lib.py/TestLib.test_get_nonexisting_environment