Skip to content

Commit

Permalink
protobf -> protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Feb 27, 2024
1 parent 74c71d5 commit dc54502
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/unit/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _compare_entity_proto(entity_pb1, entity_pb2):
assert val1 == val2


def test_entity_to_protobf_w_empty():
def test_entity_to_protobuf_w_empty():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import entity_to_protobuf
Expand All @@ -218,7 +218,7 @@ def test_entity_to_protobf_w_empty():
_compare_entity_proto(entity_pb, entity_pb2.Entity())


def test_entity_to_protobf_w_key_only():
def test_entity_to_protobuf_w_key_only():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import entity_to_protobuf
Expand All @@ -239,7 +239,7 @@ def test_entity_to_protobf_w_key_only():
_compare_entity_proto(entity_pb, expected_pb)


def test_entity_to_protobf_w_simple_fields():
def test_entity_to_protobuf_w_simple_fields():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import _new_value_pb
Expand All @@ -261,7 +261,7 @@ def test_entity_to_protobf_w_simple_fields():
_compare_entity_proto(entity_pb, expected_pb)


def test_entity_to_protobf_w_with_empty_list():
def test_entity_to_protobuf_w_with_empty_list():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import entity_to_protobuf
Expand All @@ -277,7 +277,7 @@ def test_entity_to_protobf_w_with_empty_list():
_compare_entity_proto(entity_pb, expected_pb)


def test_entity_to_protobf_w_inverts_to_protobuf():
def test_entity_to_protobuf_w_inverts_to_protobuf():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.helpers import _new_value_pb
from google.cloud.datastore.helpers import entity_from_protobuf
Expand Down Expand Up @@ -332,7 +332,7 @@ def test_entity_to_protobf_w_inverts_to_protobuf():
_compare_entity_proto(original_pb, new_pb)


def test_entity_to_protobf_w_meaning_with_change():
def test_entity_to_protobuf_w_meaning_with_change():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import _new_value_pb
Expand All @@ -352,7 +352,7 @@ def test_entity_to_protobf_w_meaning_with_change():
_compare_entity_proto(entity_pb, expected_pb)


def test_entity_to_protobf_w_variable_meanings():
def test_entity_to_protobuf_w_variable_meanings():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import _new_value_pb
Expand Down Expand Up @@ -380,7 +380,7 @@ def test_entity_to_protobf_w_variable_meanings():
_compare_entity_proto(entity_pb, expected_pb)


def test_entity_to_protobf_w_dict_to_entity():
def test_entity_to_protobuf_w_dict_to_entity():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import entity_to_protobuf
Expand All @@ -401,7 +401,7 @@ def test_entity_to_protobf_w_dict_to_entity():
assert entity_pb == expected_pb


def test_entity_to_protobf_w_dict_to_entity_recursive():
def test_entity_to_protobuf_w_dict_to_entity_recursive():
from google.cloud.datastore_v1.types import entity as entity_pb2
from google.cloud.datastore.entity import Entity
from google.cloud.datastore.helpers import entity_to_protobuf
Expand Down

0 comments on commit dc54502

Please sign in to comment.