Skip to content

Commit ab87ac3

Browse files
committed
refactor(tests): Remove superfluous imports
Signed-off-by: Varsha GS <[email protected]>
1 parent 5c7262e commit ab87ac3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+35
-122
lines changed

example/asyncio/aioclient.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2019
33

4-
from __future__ import absolute_import
5-
64
import aiohttp
75
import asyncio
86

tests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2017
33

4-
from __future__ import absolute_import
54
import os
65

76
os.environ["INSTANA_TEST"] = "true"

tests/apps/grpc_server/stan_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2019
33

4-
from __future__ import absolute_import
5-
64
import time
75
import random
86

tests/clients/boto3/test_boto3_lambda.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
54
import unittest
65
import json
76

tests/clients/boto3/test_boto3_s3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
54
import os
65
import unittest
76

tests/clients/boto3/test_boto3_secretsmanager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
5-
64
import os
75
import boto3
86
import unittest

tests/clients/boto3/test_boto3_ses.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
5-
64
import os
75
import boto3
86
import unittest

tests/clients/boto3/test_boto3_sqs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
5-
64
import os
75
import boto3
86
import unittest

tests/clients/test_cassandra-driver.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
5-
64
import os
75
import time
8-
import pytest
96
import random
107
import unittest
118

@@ -31,7 +28,7 @@
3128
");")
3229

3330

34-
@pytest.mark.skipif(not os.environ.get("CASSANDRA_TEST"), reason="")
31+
@unittest.mark.skipif(not os.environ.get("CASSANDRA_TEST"), reason="")
3532
class TestCassandra(unittest.TestCase):
3633
def setUp(self):
3734
""" Clear all spans before a test run """

tests/clients/test_couchbase.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# (c) Copyright IBM Corp. 2021
22
# (c) Copyright Instana Inc. 2020
33

4-
from __future__ import absolute_import
5-
64
import os
75
import time
8-
import pytest
96
import unittest
107

118
from instana.singletons import tracer
@@ -29,7 +26,7 @@
2926
pass
3027

3128

32-
@pytest.mark.skipif(not os.environ.get("COUCHBASE_TEST"), reason="")
29+
@unittest.mark.skipif(not os.environ.get("COUCHBASE_TEST"), reason="")
3330
class TestStandardCouchDB(unittest.TestCase):
3431
def setup_class(self):
3532
""" Clear all spans before a test run """

0 commit comments

Comments
 (0)