Skip to content

Commit

Permalink
Fix CI by using a different web property
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcarty committed Apr 30, 2020
1 parent 253c9ab commit 064bac0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,5 @@ __pycache__/

env
auth
auth.tar
auth.tar
.vscode
4 changes: 2 additions & 2 deletions searchconsole/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Account:
<searchconsole.account.Account(client_id='...')>
>>> account[0]
<searchconsole.account.WebProperty(url='...')>
>>> account['https://www.johnlewis.com/']
>>> account[www_webproperty_com]
<searchconsole.account.WebProperty(url='...')>
"""

Expand Down Expand Up @@ -66,7 +66,7 @@ class WebProperty:
to make your Search Analytics queries.
Usage:
>>> webproperty = account['https://www.johnlewis.com/']
>>> webproperty = account[www_webproperty_com]
>>> webproperty.query.range(start='today', days=-7).dimension('date').get()
<searchconsole.query.Report(rows=...)>
"""
Expand Down
1 change: 1 addition & 0 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def load_tests(loader, tests, ignore):
globs = {
'account': account,
'webproperty': account[webproperty_uri],
'www_webproperty_com': webproperty_uri,
'query': account[webproperty_uri].query
}

Expand Down

0 comments on commit 064bac0

Please sign in to comment.