Skip to content

Commit

Permalink
corrigidos testes para as alterações do modelo
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosmartin committed Jul 23, 2013
1 parent ff89ddb commit 98f0196
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setup():
DBSession.configure(bind=engine)
Base.metadata.create_all(engine)
with transaction.manager:
model = User(username='one', password='kdkdk', email='skdsk', id='kkk', pk='kk')
model = User(username='one', password='kdkdk', email='skdsk')
DBSession.add(model)


Expand Down Expand Up @@ -54,8 +54,8 @@ def test_course():


def test_course_class():
from timtec.models import CourseClass
course_class = CourseClass(name='Nome')
from timtec.models import Klass
course_class = Klass(name='Nome')
assert course_class.name == 'Nome'


Expand Down

0 comments on commit 98f0196

Please sign in to comment.