@@ -75,7 +75,7 @@ def test_django_v2XX_request_root_span(client, test_spans):
7575 if django .VERSION >= (2 , 2 , 0 ):
7676 meta ["http.route" ] = "^$"
7777
78- assert http .QUERY_STRING not in root ._get_tags ()
78+ assert http .QUERY_STRING not in root .get_tags ()
7979 root .assert_matches (
8080 name = "django.request" ,
8181 service = "django" ,
@@ -116,7 +116,7 @@ def test_django_v2XX_alter_root_resource(client, test_spans):
116116 if django .VERSION >= (2 , 2 , 0 ):
117117 meta ["http.route" ] = "^alter-resource/$"
118118
119- assert http .QUERY_STRING not in root ._get_tags ()
119+ assert http .QUERY_STRING not in root .get_tags ()
120120 root .assert_matches (
121121 name = "django.request" ,
122122 service = "django" ,
@@ -729,7 +729,7 @@ def test_cache_get(test_spans):
729729 "django.cache.key" : "missing_key" ,
730730 }
731731
732- assert_dict_issuperset (span ._get_tags (), expected_meta )
732+ assert_dict_issuperset (span .get_tags (), expected_meta )
733733
734734
735735def test_cache_set (test_spans ):
@@ -754,7 +754,7 @@ def test_cache_set(test_spans):
754754 "django.cache.key" : "a_new_key" ,
755755 }
756756
757- assert_dict_issuperset (span ._get_tags (), expected_meta )
757+ assert_dict_issuperset (span .get_tags (), expected_meta )
758758
759759
760760def test_cache_delete (test_spans ):
@@ -778,7 +778,7 @@ def test_cache_delete(test_spans):
778778 "django.cache.key" : "an_existing_key" ,
779779 }
780780
781- assert_dict_issuperset (span ._get_tags (), expected_meta )
781+ assert_dict_issuperset (span .get_tags (), expected_meta )
782782
783783
784784@pytest .mark .skipif (django .VERSION >= (2 , 1 , 0 ), reason = "" )
@@ -813,8 +813,8 @@ def test_cache_incr_1XX(test_spans):
813813 "django.cache.key" : "value" ,
814814 }
815815
816- assert_dict_issuperset (span_get ._get_tags (), expected_meta )
817- assert_dict_issuperset (span_incr ._get_tags (), expected_meta )
816+ assert_dict_issuperset (span_get .get_tags (), expected_meta )
817+ assert_dict_issuperset (span_incr .get_tags (), expected_meta )
818818
819819
820820@pytest .mark .skipif (django .VERSION < (2 , 1 , 0 ), reason = "" )
@@ -843,7 +843,7 @@ def test_cache_incr_2XX(test_spans):
843843 "django.cache.key" : "value" ,
844844 }
845845
846- assert_dict_issuperset (span_incr ._get_tags (), expected_meta )
846+ assert_dict_issuperset (span_incr .get_tags (), expected_meta )
847847
848848
849849@pytest .mark .skipif (django .VERSION >= (2 , 1 , 0 ), reason = "" )
@@ -884,9 +884,9 @@ def test_cache_decr_1XX(test_spans):
884884 "django.cache.key" : "value" ,
885885 }
886886
887- assert_dict_issuperset (span_get ._get_tags (), expected_meta )
888- assert_dict_issuperset (span_incr ._get_tags (), expected_meta )
889- assert_dict_issuperset (span_decr ._get_tags (), expected_meta )
887+ assert_dict_issuperset (span_get .get_tags (), expected_meta )
888+ assert_dict_issuperset (span_incr .get_tags (), expected_meta )
889+ assert_dict_issuperset (span_decr .get_tags (), expected_meta )
890890
891891
892892@pytest .mark .skipif (django .VERSION < (2 , 1 , 0 ), reason = "" )
@@ -921,8 +921,8 @@ def test_cache_decr_2XX(test_spans):
921921 "django.cache.key" : "value" ,
922922 }
923923
924- assert_dict_issuperset (span_incr ._get_tags (), expected_meta )
925- assert_dict_issuperset (span_decr ._get_tags (), expected_meta )
924+ assert_dict_issuperset (span_incr .get_tags (), expected_meta )
925+ assert_dict_issuperset (span_decr .get_tags (), expected_meta )
926926
927927
928928def test_cache_get_many (test_spans ):
@@ -960,7 +960,7 @@ def test_cache_get_many(test_spans):
960960 "django.cache.key" : str (["missing_key" , "another_key" ]),
961961 }
962962
963- assert_dict_issuperset (span_get_many ._get_tags (), expected_meta )
963+ assert_dict_issuperset (span_get_many .get_tags (), expected_meta )
964964
965965
966966def test_cache_set_many (test_spans ):
@@ -1081,8 +1081,8 @@ def test_cached_view(client, test_spans):
10811081 "django.cache.key" : "views.decorators.cache.cache_header..03cdc1cc4aab71b038a6764e5fcabb82.en-us" ,
10821082 }
10831083
1084- assert span_view ._get_tags () == expected_meta_view
1085- assert span_header ._get_tags () == expected_meta_header
1084+ assert span_view .get_tags () == expected_meta_view
1085+ assert span_header .get_tags () == expected_meta_header
10861086
10871087
10881088@pytest .mark .django_db
@@ -1118,7 +1118,7 @@ def test_cached_template(client, test_spans):
11181118 "django.cache.key" : "template.cache.users_list.d41d8cd98f00b204e9800998ecf8427e" ,
11191119 }
11201120
1121- assert span_template_cache ._get_tags () == expected_meta
1121+ assert span_template_cache .get_tags () == expected_meta
11221122
11231123
11241124"""
@@ -1494,7 +1494,7 @@ def test_user_name_excluded(client, test_spans):
14941494
14951495 # user name should not be present in root span tags
14961496 root = test_spans .get_root_span ()
1497- assert "django.user.name" not in root ._get_tags ()
1497+ assert "django.user.name" not in root .get_tags ()
14981498 assert root .get_tag ("django.user.is_authenticated" ) == "True"
14991499
15001500
@@ -1772,7 +1772,7 @@ def start_response(status, headers):
17721772 if django .VERSION >= (2 , 2 , 0 ):
17731773 meta ["http.route" ] = "^$"
17741774
1775- assert http .QUERY_STRING not in root ._get_tags ()
1775+ assert http .QUERY_STRING not in root .get_tags ()
17761776 root .assert_matches (
17771777 name = "django.request" ,
17781778 service = "django" ,
0 commit comments