Only load a Component through import and update tests accordingly.
Before, a Component may have also be loaded through __getattr__ as defined in DynamicModule but it makes the code unnecessarily more complicated just for External Method. From now on, use __import__ rather than getattr as it will work exactly the same way as in Component source code containing imports.
Showing
Please register or sign in to comment