Skip to content

Commit

Permalink
Merge pull request #1 from sasha-kantoriz/a378485729286118_models_test
Browse files Browse the repository at this point in the history
A378485729286118 models test
  • Loading branch information
leits committed Aug 2, 2017
2 parents e2906bc + 965af4f commit 8c25407
Show file tree
Hide file tree
Showing 3 changed files with 380 additions and 1 deletion.
1 change: 1 addition & 0 deletions openregistry/api/models/schematics_extender.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from datetime import datetime
from iso8601 import parse_date, ParseError
from hashlib import algorithms, new as hash_new
from schematics.exceptions import ConversionError, ValidationError

from schematics.models import Model as SchematicsModel
Expand Down
3 changes: 2 additions & 1 deletion openregistry/api/tests/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

import unittest

from openregistry.api.tests import auth, spore, migration
from openregistry.api.tests import auth, spore, migration, models


def suite():
suite = unittest.TestSuite()
suite.addTest(auth.suite())
suite.addTest(spore.suite())
suite.addTest(migration.suite())
suite.addTest(models.suite())
return suite


Expand Down
Loading

0 comments on commit 8c25407

Please sign in to comment.