hasadna / open-shot

A simple, open question and answer site. Shot being an hebrew acronym for Q&A.
http://localshot.org.il
BSD 3-Clause "New" or "Revised" License
9 stars 30 forks source link

test_post_question_facebook appears twice in qa/tests.py #367

Closed danielhers closed 11 years ago

danielhers commented 11 years ago

The second one should probably be test_post_answer_facebook, and right now it overrides the first definition. When I rename it, the first definition is active again, but it fails... I can't seem to figure out why. Apparently post_question returns 200 (OK) rather than 302 (redirect) which is the expected code when a question is published.