Skip to content

Commit

Permalink
move person model into its own module
Browse files Browse the repository at this point in the history
  • Loading branch information
aconrad committed Jan 25, 2017
1 parent 4cf9715 commit 357cb12
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Empty file added playground/models/__init__.py
Empty file.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
def test_person():
from playground.models import Person
from playground.models.person import Person
person = Person("muzzy", 1980)


def test_person_age():
from playground.models import Person
from playground.models.person import Person
person = Person("muzzy", 1980)
assert person.age == 37

0 comments on commit 357cb12

Please sign in to comment.