Voxelers / mcthings

A Python framework for creating 3D scenes in Minecraft and Minetest
Apache License 2.0
57 stars 10 forks source link

Test McThings with the last version of Minecraft #141

Open acs opened 3 years ago

acs commented 3 years ago

Follow the steps described at: https://github.com/Voxelers/mcthings/blob/develop/USAGE.md

So we are on track! (Just 30 min to have all working from scratch)

To avoid losing the focus in minecraft launcher:

vi ~/.minecraft/options.txt
pauseOnLostFocus:false

To make a player op in the server ...

acs commented 3 years ago

Ok, let's fix a missing test ...

ERROR: test_build (test_schematic.TestSchematic)
....
  File "/usr/lib/python3.8/gzip.py", line 173, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'schematics/vxs.schematic'

strange because it worked in Travis: https://travis-ci.org/github/Voxelers/mcthings/builds/716076064 and it was the same version (0.60.0) but the number of tests (24 vs 16 is different).

acs commented 3 years ago

I have rexecuted the tests and all is working:

(venv) ✔ ~/devel/mcthings/tests/integration [develop|…2] 
09:36 $ PYTHONPATH=../..:.. ./run_tests.py
....
----------------------------------------------------------------------
Ran 25 tests in 9.231s

OK

So I am not sure what I did wrong last time. In any case we are ready for the development of new features in McThings!