test_audiogen_randomdir.py 352 B

123456789101112131415161718
  1. from gevent import monkey
  2. monkey.patch_all(subprocess=True)
  3. import pytest
  4. from larigira.audiogen_randomdir import generate
  5. @pytest.fixture
  6. def simplerandom():
  7. return {
  8. 'paths': '/tmp/do/not/exist',
  9. }
  10. def test_accepted_syntax(simplerandom):
  11. '''Check the minimal needed configuration for randomdir'''
  12. generate(simplerandom)