Skip to content

Commit

Permalink
Update after merge #417
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvdavies committed Dec 5, 2024
1 parent 58a1e87 commit e08e647
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/generate_mock_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ def create_item(item_data: dict) -> dict[str, Any]:
return post_avoiding_duplicates(endpoint="/v1/items", field="name", json=item_data)


def set_spares_definition(spares_definition_data) -> dict[str, Any]:
def update_spares_definition(spares_definition_data) -> dict[str, Any]:
"""
Sets the spares definition given its data.
Updates the spares definition given its data.
:return: JSON data from the response.
"""
Expand Down Expand Up @@ -617,9 +617,9 @@ def populate_random_systems(levels_deep: int = 0, parent_id=None):


def populate_spares_definition():
"""Sets the spares definition."""
"""Update the spares definition."""

set_spares_definition(generate_spares_definition(SPARES_DEFINITION_USAGE_STATUSES))
update_spares_definition(generate_spares_definition(SPARES_DEFINITION_USAGE_STATUSES))


def generate_mock_data():
Expand Down

0 comments on commit e08e647

Please sign in to comment.