Commit 878640b6 by David Ormsbee

Merge pull request #1316 from MITx/bugfix/victor/beta_testers

fix tests--nosetests is overly excited about my code
parents bdc55d36 1411bd1a
......@@ -338,6 +338,10 @@ def course_beta_test_group_name(location):
"""
return 'beta_testers_{0}'.format(Location(location).course)
# nosetests thinks that anything with _test_ in the name is a test.
# Correct this (https://nose.readthedocs.org/en/latest/finding_tests.html)
course_beta_test_group_name.__test__ = False
def _course_instructor_group_name(location):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment