Directory structure cleanup and organization overhaul
This commit is contained in:
parent
1a143982e1
commit
98fc49a978
119 changed files with 10483 additions and 4042 deletions
21
tests/bugs/issue_37_simple_test.py
Normal file
21
tests/bugs/issue_37_simple_test.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
Simple test for Issue #37: Verify script loading works from executable directory
|
||||
"""
|
||||
|
||||
import sys
|
||||
import os
|
||||
import mcrfpy
|
||||
|
||||
# This script runs as --exec, which means it's loaded after Python initialization
|
||||
# and after game.py. If we got here, script loading is working.
|
||||
|
||||
print("Issue #37 test: Script execution verified")
|
||||
print(f"Current working directory: {os.getcwd()}")
|
||||
print(f"Script location: {__file__}")
|
||||
|
||||
# Create a simple scene to verify everything is working
|
||||
mcrfpy.createScene("issue37_test")
|
||||
|
||||
print("PASS: Issue #37 - Script loading working correctly")
|
||||
sys.exit(0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue