Skip to content

Commit 3bfc087

Browse files
committed
Update access report test with new error message text
1 parent 365301e commit 3bfc087

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

google-analytics-admin/properties_run_access_report_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ def test_properties_run_access_report(capsys):
2525
transports = ["grpc", "rest"]
2626
for transport in transports:
2727
# This test ensures that the call is valid and reaches the server, even
28-
# though the operation does not succeed due to permission error.
28+
# though the operation does not succeed due to the test property not
29+
# being a Google Analytics 360 property.
2930
with pytest.raises(
3031
Exception,
31-
match="Access record reports are only allowed on Google Analytics 360 properties.",
32+
match="Data Access Reports are only allowed on Google Analytics 360 properties.",
3233
):
3334
properties_run_access_report.run_access_report(
3435
TEST_PROPERTY_ID, transport=transport

0 commit comments

Comments
 (0)