Closed pietscham closed 7 years ago
@pietscham I'm not sure why but I can't seem to run the tests anymore. On master, I run the tests with the command python manage.py test brew_data
. When I try to do the same thing on your PR, it doesn't find any tests to run. Any suggestions?
@MichaelWashburnJr I'm able to run the tests by specifying the tests module in the test command:
python manage.py test brew_data.tests
ahhh okay, that's fine. I'll check it out again later tonight
Here's my first stab at it! Had some trouble initially because (similarly to another issue) I was using Python v2.7, but everything seemed to work with Python3.6.
I moved both the model and view test files into a test subdirectory and created a separate file for each (test_models.py and test_views.py) I can break these down further into specific test files for each specific model and view, if preferred!
Let me know if you see anything else. Thanks!
Addresses issue #55