more readable imports
This commit is contained in:
parent
2731531768
commit
6a043f4a7d
18 changed files with 32 additions and 32 deletions
|
@ -1,6 +1,6 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
from ... import assets
|
||||
from realms import assets
|
||||
|
||||
assets.register('editor.js',
|
||||
'vendor/store-js/store.js',
|
||||
|
|
|
@ -9,9 +9,9 @@ import yaml
|
|||
from dulwich.object_store import tree_lookup_path
|
||||
from dulwich.repo import Repo, NotGitRepository
|
||||
|
||||
from ...lib.util import cname_to_filename, filename_to_cname
|
||||
from ... import cache
|
||||
from ...lib.hook import HookMixin
|
||||
from realms import cache
|
||||
from realms.lib.hook import HookMixin
|
||||
from realms.lib.util import cname_to_filename, filename_to_cname
|
||||
|
||||
|
||||
class PageNotFound(Exception):
|
||||
|
|
|
@ -5,8 +5,8 @@ import json
|
|||
from nose.tools import *
|
||||
from flask import url_for
|
||||
|
||||
from ...lib.util import cname_to_filename, filename_to_cname
|
||||
from ...lib.test import BaseTest
|
||||
from realms.lib.util import cname_to_filename, filename_to_cname
|
||||
from realms.lib.test import BaseTest
|
||||
|
||||
|
||||
class WikiBaseTest(BaseTest):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue