teknik-eksjo / chronos

A scheduling app that helps teachers submit workday outlines
MIT License
5 stars 5 forks source link

Added fixtures for database session. #93

Closed Limpan closed 8 years ago

Limpan commented 8 years ago

When writing tests that need the session object use session as argument. The fixture will then make sure to clean the database between tests.

Limpan commented 8 years ago

Seems like the Travis build hangs after the last test on Python 3.5. On my local 3.5 install all tests run fine. Is it some kind of weird bug, maybe?

Greenheart commented 8 years ago

It's the same problem as I get. Probably environment variables for travis!

Greenheart commented 8 years ago

@teknik-eksjo/te13 Is this ready to be merged or what do you say?

Limpan commented 8 years ago

I'd say it's ready to merge!