forked from ungleich-public/cdist
first try of a test
This commit is contained in:
parent
717e21da6c
commit
f163b32720
1 changed files with 5 additions and 1 deletions
|
@ -100,7 +100,6 @@ class EmulatorTestCase(test.CdistTestCase):
|
||||||
argv = ['__file', '/tmp/foobar']
|
argv = ['__file', '/tmp/foobar']
|
||||||
self.env['require'] = '__file/etc/*'
|
self.env['require'] = '__file/etc/*'
|
||||||
emu = emulator.Emulator(argv, env=self.env)
|
emu = emulator.Emulator(argv, env=self.env)
|
||||||
emu.run()
|
|
||||||
# if we get here all is fine
|
# if we get here all is fine
|
||||||
|
|
||||||
|
|
||||||
|
@ -155,6 +154,11 @@ class OverrideTestCase(test.CdistTestCase):
|
||||||
argv = ['__file', '/tmp/foobar']
|
argv = ['__file', '/tmp/foobar']
|
||||||
self.env['require'] = '__file/etc/*'
|
self.env['require'] = '__file/etc/*'
|
||||||
emu = emulator.Emulator(argv, env=self.env)
|
emu = emulator.Emulator(argv, env=self.env)
|
||||||
|
emu.run()
|
||||||
|
argv = ['__file', '/tmp/foobar']
|
||||||
|
self.env['require'] = '__file/etc/*'
|
||||||
|
emu = emulator.Emulator(argv, env=self.env)
|
||||||
|
emu.run()
|
||||||
# if we get here all is fine
|
# if we get here all is fine
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue