Because _create_course was called from 2 different top-level test classes. This test file is sort of a mess-- things really need to be split up better and some inheritance established. But for now, making _create_course top-level (and because of that, _get_course_id) allowed me to call it from tests in both classes.