arxcode
arxcode copied to clipboard
Advancement.py coverage
I think when removing an __init__.py
definition there was a lingering reference to it:
Traceback (most recent call last):
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] File "/home/tehom/arx/evennia/evennia/scripts/scripts.py", line 449, in unpause
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] self.at_start()
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] File "/home/tehom/arx/arx/typeclasses/scripts/weekly_events.py", line 95, in at_start
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] from world.magic.advancement import init_magic_advancement
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] File "/home/tehom/arx/arx/world/magic/advancement.py", line 5, in <module>
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] from typeclasses.scripts import Script
2019-10-19 15:05:32-0400 [AMPProtocol,0,127.0.0.1] [::] ImportError: cannot import name Script
Since this wasn't caught by tests, there must be no coverage of advancement.py
at all.