Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxiao224 authored and potiuk committed May 19, 2022
1 parent 44c314a commit e319654
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ def test_execute(self, mock_hook, mock_upload, mock_tempfile):
mock_upload.assert_has_calls([call_schema, call_data], any_order=True)

def test_convert_value(self):
op = CassandraToGCSOperator(task_id=TASK_ID, bucket=TEST_BUCKET, cql=CQL, filename = FILENAME)
unencoded_uuid_op = CassandraToGCSOperator(task_id=TASK_ID, bucket=TEST_BUCKET, cql=CQL,
filename = FILENAME, encode_uuid=False)
op = CassandraToGCSOperator(task_id=TASK_ID, bucket=TEST_BUCKET, cql=CQL, filename=FILENAME)
unencoded_uuid_op = CassandraToGCSOperator(
task_id=TASK_ID, bucket=TEST_BUCKET, cql=CQL, filename=FILENAME, encode_uuid=False
)
assert op.convert_value(None) is None
assert op.convert_value(1) == 1
assert op.convert_value(1.0) == 1.0
Expand Down

0 comments on commit e319654

Please sign in to comment.