-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(bigquery): add extract table and table cmek operations #101
base: master
Are you sure you want to change the base?
refactor(bigquery): add extract table and table cmek operations #101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm little bit lost in all the rules for this refactoring, but LGTM
Only too many empty lines I think
|
||
|
||
def test_create_table_cmek(capsys, random_table_id, kms_key_name): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why an empty line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IlyaFaer just following the structure and rules as , all files has one blank line after method declaration and pep8 for two blank line between import and method declaration.
out, _ = capsys.readouterr() | ||
assert "Exported {} ".format(table_with_data_id) in out | ||
assert blob.exists | ||
assert blob.size > 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact you can write just assert blob.size
as it's not going to be negative, and it'll give True
for all positive numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IlyaFaer Ok, but i i didn't change that assert , i keep as it is as it was before.
Towards[8989]
List of changes: