def test_global_buttons(self):
        # Test the response contents
        resp = self.client['team_member'].get(self.translate_view_url)
        self.assertTemplateUsed(resp, 'translate.html')

        self.assertContains(resp, 'Save all', status_code=200)
        self.assertContains(resp, 'Save and Exit')
        # For the team_member "delete" should not appear
        self.assertNotContains(resp, 'Delete translations')

        # Test the response contents
        resp = self.client['maintainer'].get(self.translate_view_url)
        self.assertTemplateUsed(resp, 'translate.html')
        # For the team_member "delete" should not appear
        self.assertContains(resp, 'Delete translations')
Check that "Save all", "Delete translations", "Save and Exit" appear.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/addons/lotte/tests/templates.py/LotteTemplateTests.test_global_buttons