HomePhorge

MAINT: fix up tests that depend on the LoadError message to work.
0e834afaa191Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

MAINT: fix up tests that depend on the LoadError message to work.

We depend on require throwing about a specific file on disk, rather than just
generically, to ensure that we don't consume load errors from existing files.

This means our tests need to be updated to reflect that, by raising with
appropriate text when they stub require.

Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU505a48c0d316: (Maint) Bugfix for failing requires inside Puppet Strings.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU0e834afaa191: MAINT: fix up tests that depend on the LoadError message to work. (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 3 2011, 12:51 AM