@@ -73,7 +73,7 @@ def test_create_lite_topic_example(topic_path, capsys):
73
73
74
74
topic_path_object = TopicPath .parse (topic_path )
75
75
create_lite_topic_example .create_lite_topic (
76
- topic_path_object .project_number ,
76
+ topic_path_object .project ,
77
77
topic_path_object .location .region .name ,
78
78
topic_path_object .location .zone_id ,
79
79
topic_path_object .name ,
@@ -88,7 +88,7 @@ def test_update_lite_topic_example(topic_path, capsys):
88
88
89
89
topic_path_object = TopicPath .parse (topic_path )
90
90
update_lite_topic_example .update_lite_topic (
91
- topic_path_object .project_number ,
91
+ topic_path_object .project ,
92
92
topic_path_object .location .region .name ,
93
93
topic_path_object .location .zone_id ,
94
94
topic_path_object .name ,
@@ -102,7 +102,7 @@ def test_get_lite_topic_example(topic_path, capsys):
102
102
103
103
topic_path_object = TopicPath .parse (topic_path )
104
104
get_lite_topic_example .get_lite_topic (
105
- topic_path_object .project_number ,
105
+ topic_path_object .project ,
106
106
topic_path_object .location .region .name ,
107
107
topic_path_object .location .zone_id ,
108
108
topic_path_object .name ,
@@ -116,7 +116,7 @@ def test_list_lite_topics_example(topic_path, capsys):
116
116
117
117
topic_path_object = TopicPath .parse (topic_path )
118
118
list_lite_topics_example .list_lite_topics (
119
- topic_path_object .project_number ,
119
+ topic_path_object .project ,
120
120
topic_path_object .location .region .name ,
121
121
topic_path_object .location .zone_id ,
122
122
)
@@ -131,7 +131,7 @@ def test_create_lite_subscription(subscription_path, topic_path, capsys):
131
131
topic_path_object = TopicPath .parse (topic_path )
132
132
133
133
create_lite_subscription_example .create_lite_subscription (
134
- subscription_path_object .project_number ,
134
+ subscription_path_object .project ,
135
135
subscription_path_object .location .region .name ,
136
136
subscription_path_object .location .zone_id ,
137
137
topic_path_object .name ,
@@ -147,7 +147,7 @@ def test_update_lite_subscription_example(subscription_path, capsys):
147
147
subscription_path_object = SubscriptionPath .parse (subscription_path )
148
148
149
149
update_lite_subscription_example .update_lite_subscription (
150
- subscription_path_object .project_number ,
150
+ subscription_path_object .project ,
151
151
subscription_path_object .location .region .name ,
152
152
subscription_path_object .location .zone_id ,
153
153
subscription_path_object .name ,
@@ -162,7 +162,7 @@ def test_get_lite_subscription(subscription_path, capsys):
162
162
subscription_path_object = SubscriptionPath .parse (subscription_path )
163
163
164
164
get_lite_subscription_example .get_lite_subscription (
165
- subscription_path_object .project_number ,
165
+ subscription_path_object .project ,
166
166
subscription_path_object .location .region .name ,
167
167
subscription_path_object .location .zone_id ,
168
168
subscription_path_object .name ,
@@ -177,7 +177,7 @@ def test_list_lite_subscriptions_in_project(subscription_path, capsys):
177
177
subscription_path_object = SubscriptionPath .parse (subscription_path )
178
178
179
179
list_lite_subscriptions_in_project_example .list_lite_subscriptions_in_project (
180
- subscription_path_object .project_number ,
180
+ subscription_path_object .project ,
181
181
subscription_path_object .location .region .name ,
182
182
subscription_path_object .location .zone_id ,
183
183
)
@@ -192,7 +192,7 @@ def test_list_lite_subscriptions_in_topic(topic_path, subscription_path, capsys)
192
192
topic_path_object = TopicPath .parse (topic_path )
193
193
194
194
list_lite_subscriptions_in_topic_example .list_lite_subscriptions_in_topic (
195
- subscription_path_object .project_number ,
195
+ subscription_path_object .project ,
196
196
subscription_path_object .location .region .name ,
197
197
subscription_path_object .location .zone_id ,
198
198
topic_path_object .name ,
@@ -267,7 +267,7 @@ def test_delete_lite_subscription_example(subscription_path, capsys):
267
267
@backoff .on_exception (backoff .expo , AssertionError , max_time = MAX_TIME )
268
268
def eventually_consistent_test ():
269
269
delete_lite_subscription_example .delete_lite_subscription (
270
- subscription_path_object .project_number ,
270
+ subscription_path_object .project ,
271
271
subscription_path_object .location .region .name ,
272
272
subscription_path_object .location .zone_id ,
273
273
subscription_path_object .name ,
@@ -286,7 +286,7 @@ def test_delete_lite_topic_example(topic_path, capsys):
286
286
@backoff .on_exception (backoff .expo , AssertionError , max_time = MAX_TIME )
287
287
def eventually_consistent_test ():
288
288
delete_lite_topic_example .delete_lite_topic (
289
- topic_path_object .project_number ,
289
+ topic_path_object .project ,
290
290
topic_path_object .location .region .name ,
291
291
topic_path_object .location .zone_id ,
292
292
topic_path_object .name ,
0 commit comments