Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Jul 25, 2024
1 parent a27423c commit 554d725
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion brewtils/schema_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ def parse_status_history(cls, status_history, from_string=False, **kwargs):
from_string=from_string,
**kwargs
)

@classmethod
def parse_replication(cls, replication, from_string=False, **kwargs):
"""Convert raw JSON string or dictionary to a replication model object
Expand Down Expand Up @@ -1099,7 +1100,7 @@ def serialize_status_history(cls, status_history, to_string=True, **kwargs):
schema_name=brewtils.models.StatusHistory.schema,
**kwargs
)

@classmethod
def serialize_replication(cls, replication, to_string=True, **kwargs):
"""Convert a replication model into serialized form
Expand Down
1 change: 0 additions & 1 deletion brewtils/test/comparable.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ def assert_connection_equal(obj1, obj2, do_raise=False):
assert_replication_equal = partial(_assert_wrapper, expected_type=Replication)



def assert_command_equal(obj1, obj2, do_raise=False):
return _assert_wrapper(
obj1,
Expand Down
4 changes: 2 additions & 2 deletions test/schema_parser_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def test_single_specific_from_string(self):
lazy_fixture("status_history_dict"),
assert_status_history_equal,
lazy_fixture("bg_status_history"),
),
),
(
brewtils.models.Replication,
lazy_fixture("replication_dict"),
Expand Down Expand Up @@ -958,7 +958,7 @@ def test_single(self, model, expected):
"serialize_status_history",
lazy_fixture("bg_status_history"),
lazy_fixture("status_history_dict"),
),
),
(
"serialize_replication",
lazy_fixture("bg_replication"),
Expand Down

0 comments on commit 554d725

Please sign in to comment.