Skip to content

Commit

Permalink
chore: fix fixture path
Browse files Browse the repository at this point in the history
Signed-off-by: SeSo <[email protected]>
  • Loading branch information
Sepehr-Sobhani committed Dec 27, 2024
1 parent 67070ca commit feb298a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bc_obps/common/management/commands/load_fixtures_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ def handle(self, *args, **options):
],
"admin-industry_user": [
(
fixture.replace('user_operator.json', 'admin/user_operator.json')
fixture.replace('v1/user_operator.json', 'admin/user_operator.json')
if 'user_operator.json' in fixture
else fixture
)
for fixture in fixtures_base
],
"admin-industry_user_operator": [
(
fixture.replace('user_operator.json', 'admin/user_operator_approved.json')
fixture.replace('v1/user_operator.json', 'admin/user_operator_approved.json')
if 'user_operator.json' in fixture
else fixture
)
Expand Down

0 comments on commit feb298a

Please sign in to comment.