def test_project_doesnt_exist(self):
        assert_code(self.client.get('/projects/project_doesnt_exist/'), 404)
Checks if view is returning error when project slug is invalid.
dataset/ETHPy150Open mozilla/pontoon/pontoon/base/tests/test_views.py/ProjectTests.test_project_doesnt_exist