tests: Add some error handling tests

This commit is contained in:
James Westman 2021-11-03 23:03:43 -05:00
parent 241668fb94
commit 43d442a6df
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
11 changed files with 29 additions and 5 deletions

View file

@ -50,7 +50,7 @@ def get_namespace(namespace, version):
break
if filename not in _namespace_cache:
raise CompileError(f"Namespace `{namespace}-{version}` could not be found.")
raise CompileError(f"Namespace {namespace}-{version} could not be found")
return _namespace_cache[filename]