• Jérome Perrin's avatar
    fixup! Fix random test failure with make flags on test node · aa5a651b
    Jérome Perrin authored
    ```
    ======================================================================
    ERROR: /srv/slapgrid/slappart0/parts/slapos.recipe.cmmi/slapos/recipe/cmmi/README.txt
    Doctest: README.txt
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/opt/slapgrid/298b8e2a56fa3803aa68aa4cfe6a3b96/parts/python2.7/lib/python2.7/doctest.py", line 2194, in setUp
        self._dt_setUp(test)
      File "/srv/slapgrid/slappart0/parts/slapos.recipe.cmmi/slapos/recipe/cmmi/tests.py", line 26, in setUp
        os.environ.pop('MAKEFLAGS')
      File "/opt/slapgrid/298b8e2a56fa3803aa68aa4cfe6a3b96/parts/python2.7/lib/python2.7/os.py", line 505, in pop
        return self.data.pop(key, *args)
    KeyError: 'MAKEFLAGS'
    ```
    aa5a651b
tests.py 12.5 KB