Skip to content

Commit

Permalink
EWP-86 added test for eaterpoint content
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNasayo committed Jul 14, 2023
1 parent 8cd280f commit cb6c6f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from .ormWP.models.adm1 import Adm1
from .ormWP.models.adm3 import Adm3
from .ormWP.models.adm2 import Adm2
from .ormWP.models.watershed import Watershed
from .ormWP.models.watershed import Watershed
from .ormWP.models.wp_content import Wpcontent
from .ormWP.models.type_content import Typecontent
4 changes: 3 additions & 1 deletion src/ormWP/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
from .models.adm1 import Adm1
from .models.adm2 import Adm2
from .models.adm3 import Adm3
from .models.watershed import Watershed
from .models.watershed import Watershed
from .models.wp_content import Wpcontent
from .models.type_content import Typecontent
1 change: 1 addition & 0 deletions src/ormWP/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
from .adm3 import Adm3
from .watershed import Watershed
from .monitored import Waterpoint
from .wp_content import Wpcontent
2 changes: 1 addition & 1 deletion src/ormWP/models/wp_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class Wpcontent(Document):
'collection': 'wpcontent'
}
content=ListField(required=True)
watershed=ReferenceField(Waterpoint)
waterpoint=ReferenceField(Waterpoint)
type= ReferenceField(Typecontent)

0 comments on commit cb6c6f9

Please sign in to comment.