Changeset - 27d1fea2e04b
[Not reviewed]
0 3 0
Lance Edgar (lance) - 11 years ago 2014-01-26 20:48:16
lance@edbob.org
Fix (remove) some references to `rattail.db.extension.model`.
3 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rattail/batches/providers/__init__.py
Show inline comments
 
@@ -32,6 +32,7 @@ import edbob
 

	
 
from ...core import Object
 
from rattail import sil
 
from ...db import model
 

	
 

	
 
__all__ = ['BatchProvider']
rattail/db/batches/makers.py
Show inline comments
 
@@ -29,7 +29,7 @@
 
from rattail.db.batches.types import get_batch_type
 
from rattail.db.batches.data import BatchDataProvider
 
# from rattail.db.model import Batch, LabelProfile
 
from rattail.db.extension.model import Batch
 
from ..model import Batch
 
from rattail.sil import consume_batch_id
 

	
 

	
tests/db/test_model.py
Show inline comments
 
@@ -13,7 +13,7 @@ from rattail.db.changes import record_changes
 

	
 
class TestBatch(TestCase):
 

	
 
    @patch('rattail.db.extension.model.object_session')
 
    @patch('rattail.db.model.object_session')
 
    def test_rowclass(self, object_session):
 
        object_session.return_value = object_session
 

	
0 comments (0 inline, 0 general)