fix a problem with empty scripts

This commit is contained in:
David Halter
2013-08-21 13:42:18 +04:30
parent 2e8432de21
commit eca786bf0e
2 changed files with 5 additions and 1 deletions

View File

@@ -24,3 +24,7 @@ def test_preload_modules():
check_loaded('datetime', 'json', 'token')
cache.parser_cache = temp_cache
def test_empty_script():
assert api.Script('')