Fix and re-enabled blast tests and moved them to main

* Fixed and reenabled Blast tests
* moved blast tests to main

Co-authored-by: aljanru <aljanru@amazon.com>
This commit is contained in:
AMZN-AlexOteiza
2021-04-27 17:53:03 +01:00
committed by GitHub
parent 17997b3df8
commit 66bdf4e26d
10 changed files with 60 additions and 31 deletions
@@ -15,9 +15,9 @@ sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from ActorSplitsAfterDamage import Tests
def run():
from ActorSplitsAfterDamage import run as internal_run
from editor_python_test_tools.utils import Constants
def ActorSplitsAfterImpactSpreadDamage():
from ActorSplitsAfterDamage import base_run as internal_run
from BlastUtils import Constants
def ImpactSpreadDamage(target_id, position):
azlmbr.destruction.BlastFamilyDamageRequestBus(azlmbr.bus.Event, "Impact Spread Damage", target_id,
@@ -28,4 +28,8 @@ def run():
if __name__ == "__main__":
run()
import ImportPathHelper as imports
imports.init()
from editor_python_test_tools.utils import Report
Report.start_test(ActorSplitsAfterImpactSpreadDamage)