Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

Fix xpathing tests on missing files - #557

Merged
dustymabe merged 1 commit into
projectatomic:masterfrom
cdrage:fix-xpathing-checks
Feb 16, 2016
Merged

Fix xpathing tests on missing files#557
dustymabe merged 1 commit into
projectatomic:masterfrom
cdrage:fix-xpathing-checks

Conversation

@cdrage

Copy link
Copy Markdown
Member

Must be merged before #556

Fixes tests on xpathing files due to missing artifacts. Making #556 error out on tests due to missing files.

@dustymabe

Copy link
Copy Markdown
Contributor

LGTM. rebase and merge please

@dustymabe

Copy link
Copy Markdown
Contributor

Actually I don't know if this is right. First off, it doesn't actually make the tests pass when testing on top of the commit in #556. In the test file for this we create a temporary directory but never do anything with it.

I don't see any other tests that use a tmp dir, they use the examples dir directly. Should we not be doing the same thing? If I update the test to point to the example dir (os.path.dirname(__file__) + '/artifact_xpath_test/') then the tests pass.

@cdrage

Copy link
Copy Markdown
MemberAuthor

Yeah, you're right. Let's switch from tmp files to use an explicit example (pref helloapache). I'll fix this. Do not merge for now.

@cdrage

Copy link
Copy Markdown
MemberAuthor

@dustymabe Updated 👍

@dustymabe

Copy link
Copy Markdown
Contributor

LGTM merging

dustymabe added a commit that referenced this pull request Feb 16, 2016
@dustymabe
dustymabe merged commit be77253 into projectatomic:masterFeb 16, 2016
@cdrage
cdrage deleted the fix-xpathing-checks branch February 16, 2016 19:29
Sign up for freeto 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.

2 participants

@cdrage@dustymabe