Fix lint issues

This commit is contained in:
Srikanth Chekuri
2020-11-09 19:32:36 +05:30
parent ab16d1f1a6
commit 6cf6e77f76
2 changed files with 15 additions and 3 deletions

View File

@ -179,7 +179,10 @@ class TestProgrammatic(InstrumentationTest, TestBase, WsgiTestBase):
span_list = self.memory_exporter.get_finished_spans()
self.assertEqual(len(span_list), 1)
class TestProgrammaticCustomSpanName(InstrumentationTest, TestBase, WsgiTestBase):
class TestProgrammaticCustomSpanName(
InstrumentationTest, TestBase, WsgiTestBase
):
def setUp(self):
super().setUp()
@ -188,7 +191,9 @@ class TestProgrammaticCustomSpanName(InstrumentationTest, TestBase, WsgiTestBase
self.app = Flask(__name__)
FlaskInstrumentor().instrument_app(self.app, name_callback=custom_span_name)
FlaskInstrumentor().instrument_app(
self.app, name_callback=custom_span_name
)
self._common_initialization()