From 1a3632f577ba8b3b7aaafdfb02b0bf2a7cf48cf9 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 19 Dec 2019 09:50:33 +0100 Subject: [PATCH] add CreoleObjSpace in __init__.py --- src/rougail/__init__.py | 3 ++- tests/test_flattener.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/rougail/__init__.py b/src/rougail/__init__.py index 8ba6a53b..5e35d2a2 100644 --- a/src/rougail/__init__.py +++ b/src/rougail/__init__.py @@ -1,4 +1,5 @@ from .loader import load +from .objspace import CreoleObjSpace from .annotator import modes -__ALL__ = ('load', 'modes') +__ALL__ = ('load', 'CreoleObjSpace', 'modes') diff --git a/tests/test_flattener.py b/tests/test_flattener.py index 27bd188e..6031de0b 100644 --- a/tests/test_flattener.py +++ b/tests/test_flattener.py @@ -6,10 +6,10 @@ from json import load #from creole.xmlreflector import CreoleObjSpace, CreoleDictConsistencyError #from creole import xmlreflector -from creole import objspace, annotator +from rougail import objspace, annotator from creole.xml_compare import xml_compare from creole.error import CreoleDictConsistencyError -from creole.config import dtdfilename +from rougail.config import dtdfilename