We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556d1c3 commit b655717Copy full SHA for b655717
tests/test_templates.py
@@ -311,7 +311,7 @@ def test_user_module_imported(pygen_output_dir):
311
c1 = EClass('MyClass')
312
rootpkg.eClassifiers.append(c1)
313
314
- with pytest.raises(ModuleNotFoundError) as ex:
+ with pytest.raises(ImportError) as ex:
315
mm = generate_meta_model(rootpkg, pygen_output_dir, user_module='some_module')
316
assert 'some_module' in ex.message
317
0 commit comments