diff --git a/test/test_translation.py b/test/test_translation.py index 2cafe12d..ddc30959 100644 --- a/test/test_translation.py +++ b/test/test_translation.py @@ -22,6 +22,7 @@ unittest.TestLoader.sortTestMethodsUsing = None +@unittest.skipIf(can_skip_test(), "Missing tx_api_token") class TestTranslation(unittest.TestCase): @classmethod def setUpClass(cls): @@ -45,7 +46,6 @@ def tearDown(self): logger.debug(error) """ - @unittest.skipIf(can_skip_test(), "Missing tx_api_token") def test_creation(self): """ Translation initialized from setUp, so we 'fake' a new test @@ -58,12 +58,10 @@ def test_creation(self): self.assertTrue(self.t.tx_client.project_exists(self.parameters.project_slug)) self.assertEqual(len(self.t.tx_client.list_resources()), 1) - @unittest.skipIf(can_skip_test(), "Missing tx_api_token") def test_push(self): self.t.update_strings() self.t.push() - @unittest.skipIf(can_skip_test(), "Missing tx_api_token") def test_pull(self): self.t.pull() self.t.compile_strings()