diff --git a/.circleci/config.yml b/.circleci/config.yml index a1a7b58..56ab97a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,7 +71,7 @@ commands: curl -Os https://uploader.codecov.io/latest/linux/codecov curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig - curl -s https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import + curl -fsSL https://uploader.codecov.io/verification.gpg | gpg --no-default-keyring --keyring trustedkeys.gpg --import gpgv codecov.SHA256SUM.sig codecov.SHA256SUM shasum -a 256 -c codecov.SHA256SUM chmod +x ./codecov @@ -81,13 +81,14 @@ commands: - run: name: Collecting coverage reports command: | - curl -k https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import curl -Os https://uploader.codecov.io/v0.8.0/aarch64/codecov curl -Os https://uploader.codecov.io/v0.8.0/aarch64/codecov.SHA256SUM curl -Os https://uploader.codecov.io/v0.8.0/aarch64/codecov.SHA256SUM.sig + curl -fsSL https://uploader.codecov.io/verification.gpg | gpg --no-default-keyring --keyring trustedkeys.gpg --import gpgv codecov.SHA256SUM.sig codecov.SHA256SUM shasum -a 256 -c codecov.SHA256SUM - sudo chmod +x codecov + sudo chmod +x codecov + ./codecov jobs: tests-python: diff --git a/tests/test_influxdb_client_3_integration.py b/tests/test_influxdb_client_3_integration.py index 8d3dffa..3c80ac4 100644 --- a/tests/test_influxdb_client_3_integration.py +++ b/tests/test_influxdb_client_3_integration.py @@ -146,6 +146,7 @@ def test_v3_error(self): client.write(lp) msg = err.exception.message + print(msg) self.assertTrue( "partial write of line protocol occurred" in msg or "parsing failed for write_lp endpoint" in msg ) @@ -153,7 +154,7 @@ def test_v3_error(self): "invalid column type for column 'temp', expected iox::column_type::field::float, " "got iox::column_type::field::string" ), msg) - self.assertIn("line 2", msg) + self.assertTrue("line_number:2" in msg or "line 2" in msg) self.assertIn("home,room=Sunroom", msg) def test_v2_error(self):