Ensure drivers loaded before failing

so that deprecated are known
PLAT-132

@e0d plz test: this should fix your problem
any(@doctoryes @mulby @cpennington) plz review

Did red, green TDD
Maybe shell out into a separate interpreter?  Also weird and fragile... But
would give us a clean slate...
On Oct 9, 2014 4:52 PM, "Don Mitchell" <notifications@github.com> wrote:

> In opaque_keys/edx/tests/test_default_deprecated.py:
>
> > +"""
> > +Test that old keys deserialize just by importing opaque keys
> > +"""
> > +from unittest import TestCase
> > +from opaque_keys.edx.keys import CourseKey, UsageKey
> > +
> > +
> > +class TestDefault(TestCase):
> > +    """
> > +    Check that clients which merely import CourseKey can deserialize the expected keys, etc
> > +    """
> > +    def test_course_key(self):
> > +        """
> > +        Test CourseKey
> > +        """
> > +        key = CourseKey.from_string('org.id/course_id/run')
>
> unsetting the cache doesn't remove the deprecated_fallback attr from the
> class. Removing the attr doesn't work b/c python doesn't reload the module.
> I'll need to look into manually reloading / unloading modules
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/edx/opaque-keys/pull/42/files#r18673400>.
>