Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
tests.py File Reference

Namespaces

namespace  tests
 

Functions

def tests.log (severity, message)
 
def tests._convert_dae (func, filename, expected_status=0)
 
def tests.convert_dae_to_pmd (*args, **kwargs)
 
def tests.convert_dae_to_psa (*args, **kwargs)
 
def tests.clean_dir (path)
 
def tests.create_actor (mesh, texture, anims, props_)
 
def tests.create_actor_static (mesh, texture)
 

Variables

string tests.binaries = "../../../binaries"
 
dictionary tests.dll_filename
 
 tests.library = cdll.LoadLibrary(f"{binaries}/system/{dll_filename}")
 
 tests.clog = CFUNCTYPE(None, c_int, c_char_p)(log)
 
 tests.encoding
 
 tests.skeleton_definitions = fd.read()
 
 tests.expected_status
 
string tests.test_data = binaries + "/data/tests/collada"
 
string tests.test_mod = binaries + "/data/mods/_test.collada"
 
string tests.input_filename = f"{test_data}/{test_file}.dae"
 
string tests.output_filename = f"{test_mod}/art/meshes/{test_file}.pmd"
 
 tests.file_input = input_fd.read()
 
def tests.file_output = convert_dae_to_pmd(file_input)
 
def tests.xml