Skip to content

Commit 7cd6275

Browse files
authored
Apply suggestions from code review
1 parent 8fab3ca commit 7cd6275

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/instrumentation/azure_tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
azurefile = pytest.importorskip("azure.storage.fileshare")
4444
pytestmark = [pytest.mark.azurestorage]
4545

46-
from azure.data.tables import TableServiceClient as DataTableServiceClient
4746
from azure.cosmosdb.table.tableservice import TableService
47+
from azure.data.tables import TableServiceClient as DataTableServiceClient
4848
from azure.storage.blob import BlobServiceClient
4949
from azure.storage.fileshare import ShareClient
5050
from azure.storage.queue import QueueClient
@@ -213,6 +213,7 @@ def test_data_table_create(instrument, elasticapm_client):
213213
assert span["subtype"] == "azuretable"
214214
assert span["action"] == "Create"
215215

216+
216217
def test_table_create(instrument, elasticapm_client):
217218
table_name = "apmagentpythonci" + str(uuid.uuid4().hex)
218219
table_service = TableService(connection_string=CONNECTION_STRING)
@@ -229,6 +230,7 @@ def test_table_create(instrument, elasticapm_client):
229230
assert span["subtype"] == "azuretable"
230231
assert span["action"] == "Create"
231232

233+
232234
def test_data_table(instrument, elasticapm_client, data_table_service):
233235
table_name = data_table_service.table_name
234236
elasticapm_client.begin_transaction("transaction.test")
@@ -263,6 +265,7 @@ def test_data_table(instrument, elasticapm_client, data_table_service):
263265
assert span["type"] == "storage"
264266
assert span["subtype"] == "azuretable"
265267
assert span["action"] == "Delete"
268+
266269

267270
def test_table(instrument, elasticapm_client, table_service):
268271
table_name = table_service.table_name

0 commit comments

Comments
 (0)