Using the Educational Version of PyCharm, I'm writing some lessons using the Minecraft PI forge plugin (https://github.com/kbsriram/mcpiapi
I'd like to write a test to see if a variable was assigned a value. Simple example:
a = 10
in tests.py, I can see that they created a variable called "a", but I'd like to test that it was assigned the value of 10. I'm really looking to see if something like this: mc = minecraft.Minecraft.create() was successful (i.e. the student connected successfully to the instance of minecraft that's running). So I'd like to know if mc doesn't equal nil.
Also, I'd like to included additional directories in the lessons (the mcpi directory that has all the pre-written minecraft python code). I need this directory to be exported with the courses zip file and brought in as part of the course when the student opens the lesson. Is it possible to do this?