first try of a test

remotes/origin/3.0
Daniel Heule 11 years ago
parent 717e21da6c
commit f163b32720
  1. 6
      cdist/test/emulator/__init__.py

@ -100,7 +100,6 @@ class EmulatorTestCase(test.CdistTestCase):
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
@ -155,6 +154,11 @@ class OverrideTestCase(test.CdistTestCase):
argv = ['__file', '/tmp/foobar']
self.env['require'] = '__file/etc/*'
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

Loading…
Cancel
Save