Rename exceptions filename to avoid camelCase
This commit is contained in:
parent
af6a5c763b
commit
e4ab5ba5d1
@ -22,7 +22,7 @@ from flask import Blueprint, Response, request
|
||||
from werkzeug.wrappers import BaseResponse
|
||||
|
||||
from almanach import config
|
||||
from almanach.common.DateFormatException import DateFormatException
|
||||
from almanach.common.date_format_exception import DateFormatException
|
||||
|
||||
api = Blueprint("api", __name__)
|
||||
controller = None
|
||||
|
@ -17,8 +17,8 @@ import pymongo
|
||||
|
||||
from pymongo.errors import ConfigurationError
|
||||
from almanach import config
|
||||
from almanach.common.AlmanachException import AlmanachException
|
||||
from almanach.common.VolumeTypeNotFoundException import VolumeTypeNotFoundException
|
||||
from almanach.common.almanach_exception import AlmanachException
|
||||
from almanach.common.volume_type_not_found_exception import VolumeTypeNotFoundException
|
||||
from almanach.core.model import build_entity_from_dict, VolumeType
|
||||
from pymongomodem.utils import decode_output, encode_input
|
||||
|
||||
|
@ -16,7 +16,7 @@ import ConfigParser
|
||||
import pkg_resources
|
||||
import os.path as Path
|
||||
|
||||
from almanach.common.AlmanachException import AlmanachException
|
||||
from almanach.common.almanach_exception import AlmanachException
|
||||
|
||||
configuration = ConfigParser.RawConfigParser()
|
||||
|
||||
|
@ -19,7 +19,7 @@ from datetime import timedelta
|
||||
from dateutil import parser as date_parser
|
||||
from pkg_resources import get_distribution
|
||||
|
||||
from almanach.common.DateFormatException import DateFormatException
|
||||
from almanach.common.date_format_exception import DateFormatException
|
||||
from almanach.core.model import Instance, Volume, VolumeType
|
||||
from almanach import config
|
||||
|
||||
|
@ -21,8 +21,8 @@ from hamcrest import assert_that, contains_inanyorder
|
||||
from pymongo import MongoClient
|
||||
|
||||
from almanach.adapters.database_adapter import DatabaseAdapter
|
||||
from almanach.common.VolumeTypeNotFoundException import VolumeTypeNotFoundException
|
||||
from almanach.common.AlmanachException import AlmanachException
|
||||
from almanach.common.volume_type_not_found_exception import VolumeTypeNotFoundException
|
||||
from almanach.common.almanach_exception import AlmanachException
|
||||
from almanach import config
|
||||
from almanach.core.model import todict
|
||||
from tests.builder import a, instance, volume, volume_type
|
||||
|
@ -22,8 +22,8 @@ from flexmock import flexmock, flexmock_teardown
|
||||
from hamcrest import assert_that, has_key, equal_to, has_length, has_entry, has_entries
|
||||
|
||||
from almanach import config
|
||||
from almanach.common.DateFormatException import DateFormatException
|
||||
from almanach.common.AlmanachException import AlmanachException
|
||||
from almanach.common.date_format_exception import DateFormatException
|
||||
from almanach.common.almanach_exception import AlmanachException
|
||||
from almanach.adapters import api_route_v1 as api_route
|
||||
|
||||
from tests.builder import a, instance, volume_type
|
||||
|
@ -21,7 +21,7 @@ from flexmock import flexmock, flexmock_teardown
|
||||
from nose.tools import assert_raises
|
||||
|
||||
from almanach import config
|
||||
from almanach.common.DateFormatException import DateFormatException
|
||||
from almanach.common.date_format_exception import DateFormatException
|
||||
from almanach.core.controller import Controller
|
||||
from almanach.core.model import Instance, Volume
|
||||
from tests.builder import a, instance, volume, volume_type
|
||||
|
Loading…
x
Reference in New Issue
Block a user