Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Make local fixtures optional #241

Merged
merged 1 commit into from Feb 28, 2020
Merged

Make local fixtures optional #241

merged 1 commit into from Feb 28, 2020

Conversation

fao89
Copy link
Member

@fao89 fao89 commented Feb 28, 2020

[noissue]

@fao89 fao89 changed the title Only use local fixtures through pfixtures Make local fixtures optional Feb 28, 2020
Comment on lines 150 to 152
jq "setpath([\"custom\",\"fixtures_origin\"]; \"http://localhost:8000/fixtures/\")" > temp.json
cat temp.json > ~/.config/pulp_smash/settings.json
rm temp.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not use temp.json in the current directory, which could be unwriteable. Let's use a path like /tmp/temp_pfixtures.json.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional justification: I also often have files named like temp.json in my directories as I am testing stuff.

@fao89 fao89 merged commit 1c7b881 into pulp:master Feb 28, 2020
@fao89 fao89 deleted the fixtures branch February 28, 2020 23:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants