mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-22 23:19:25 -04:00
tests: Add some error handling tests
This commit is contained in:
parent
241668fb94
commit
43d442a6df
11 changed files with 29 additions and 5 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue