This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# packages.yml | |
- name: Add postgres repository | |
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main' state=present | |
- name: Add postgres repository key | |
apt_key: url=http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc state=present | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#mongoengine==0.7.8 | |
from django.test import TestCase | |
import mongoengine as me | |
class TestCollectionNameInheritance(TestCase): | |
def test_simple_case(self): | |
class BasicUser(me.Document): | |
username=me.StringField(required=True, unique=True) | |
meta = { |