def test_invalid_project(self):
        LocaleFactory.create(code='fakelocale')

        response = self.client.get('/fakelocale/invalid-project/path/')
        assert_equal(response.status_code, 404)
Custom Layout Method
dataset/ETHPy150Open mozilla/pontoon/pontoon/base/tests/test_views.py/TranslateTests.test_invalid_project--crossover with--dataset/ETHPy150Open sahana/eden/modules/templates/ARC/layouts.py/S3OptionsMenuLayout.layout