mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Fix up the final test
This commit is contained in:
parent
a8fb1c8c89
commit
eab0eaf433
1 changed files with 3 additions and 1 deletions
|
|
@ -74,8 +74,10 @@ int main()
|
|||
// assert(testmod);
|
||||
|
||||
PythonScriptFactory psf("testmod", "TestEntity");
|
||||
int ret = psf.setup();
|
||||
assert(ret == 0);
|
||||
Entity * e = new Entity("1", 1);
|
||||
int ret = psf.addScript(e);
|
||||
ret = psf.addScript(e);
|
||||
assert(ret == 0);
|
||||
|
||||
OpVector res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue