Commit 7ec552f4 by Jhony Avella

Replacing relative imports by absolute imports for all files into…

Replacing relative imports by absolute imports for all files into common/test/acceptance/fixtures directory
parent d3128f4d
...@@ -6,7 +6,7 @@ import requests ...@@ -6,7 +6,7 @@ import requests
import json import json
from lazy import lazy from lazy import lazy
from . import STUDIO_BASE_URL from common.test.acceptance.fixtures import STUDIO_BASE_URL
class StudioApiLoginError(Exception): class StudioApiLoginError(Exception):
......
...@@ -4,8 +4,8 @@ Tools for creating certificates config fixture data. ...@@ -4,8 +4,8 @@ Tools for creating certificates config fixture data.
import json import json
from . import STUDIO_BASE_URL from common.test.acceptance.fixtures import STUDIO_BASE_URL
from .base import StudioApiFixture from common.test.acceptance.fixtures.base import StudioApiFixture
class CertificateConfigFixtureError(Exception): class CertificateConfigFixtureError(Exception):
......
...@@ -6,7 +6,7 @@ import re ...@@ -6,7 +6,7 @@ import re
import json import json
from lazy import lazy from lazy import lazy
from . import LMS_BASE_URL from common.test.acceptance.fixtures import LMS_BASE_URL
class ConfigModelFixtureError(Exception): class ConfigModelFixtureError(Exception):
......
...@@ -13,8 +13,8 @@ from path import Path as path ...@@ -13,8 +13,8 @@ from path import Path as path
from opaque_keys.edx.keys import CourseKey from opaque_keys.edx.keys import CourseKey
from . import STUDIO_BASE_URL from common.test.acceptance.fixtures import STUDIO_BASE_URL
from .base import XBlockContainerFixture, FixtureError from common.test.acceptance.fixtures.base import XBlockContainerFixture, FixtureError
class XBlockFixtureDesc(object): class XBlockFixtureDesc(object):
......
...@@ -8,7 +8,7 @@ import json ...@@ -8,7 +8,7 @@ import json
import factory import factory
import requests import requests
from . import COMMENTS_STUB_URL from common.test.acceptance.fixtures import COMMENTS_STUB_URL
class ContentFactory(factory.Factory): class ContentFactory(factory.Factory):
......
...@@ -6,7 +6,7 @@ import json ...@@ -6,7 +6,7 @@ import json
import factory import factory
import requests import requests
from . import EDXNOTES_STUB_URL from common.test.acceptance.fixtures import EDXNOTES_STUB_URL
class Range(factory.Factory): class Range(factory.Factory):
......
...@@ -4,8 +4,8 @@ Fixture to create a Content Library ...@@ -4,8 +4,8 @@ Fixture to create a Content Library
from opaque_keys.edx.keys import CourseKey from opaque_keys.edx.keys import CourseKey
from . import STUDIO_BASE_URL from common.test.acceptance.fixtures import STUDIO_BASE_URL
from .base import XBlockContainerFixture, FixtureError from common.test.acceptance.fixtures.base import XBlockContainerFixture, FixtureError
class LibraryFixture(XBlockContainerFixture): class LibraryFixture(XBlockContainerFixture):
......
...@@ -5,8 +5,8 @@ import json ...@@ -5,8 +5,8 @@ import json
import requests import requests
from . import PROGRAMS_STUB_URL from common.test.acceptance.fixtures import PROGRAMS_STUB_URL
from .config import ConfigModelFixture from common.test.acceptance.fixtures.config import ConfigModelFixture
class ProgramsFixture(object): class ProgramsFixture(object):
......
...@@ -4,7 +4,8 @@ Fixture to configure XQueue response. ...@@ -4,7 +4,8 @@ Fixture to configure XQueue response.
import requests import requests
import json import json
from . import XQUEUE_STUB_URL
from common.test.acceptance.fixtures import XQUEUE_STUB_URL
class XQueueResponseFixtureError(Exception): class XQueueResponseFixtureError(Exception):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment