threefoldtecharchive / jumpscaleX_libs_extra

more community driven approach to libs for jumpscale
Apache License 2.0
1 stars 1 forks source link

need to update reportlab tool and edit its tests #16

Open Dinaamagdy opened 4 years ago

Dinaamagdy commented 4 years ago

j.tools.reportlab.test() will clone from non exist repo

JSX> j.tools.reportlab.test()                                                                                                                                                                               
Cloning into '/sandbox/code/github/threefoldfoundation/info_legal'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Cloning into '/sandbox/code/github/threefoldfoundation/info_legal'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Cloning into '/sandbox/code/github/threefoldfoundation/info_legal'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Cloning into '/sandbox/code/github/threefoldfoundation/info_legal'...
Username for 'https://github.com': dinaamagdy
Password for 'https://dinaamagdy@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/threefoldfoundation/info_legal.git/' not found

j.tools.reportlab.test_generation()

Wed 19 13:32:19 /ReportlabFactory.py -  83 - test_generation                    : EXCEPTION: 
    AttributeError("'group_j__tools' object has no attribute 'prefab'",)
--TRACEBACK------------------
<stdin> in <module>
    1    
/sandbox/lib/jumpscale/JumpscaleLibsExtra/tools/reportlab/ReportlabFactory.py in test_generation
    83    p = j.tools.prefab.local
-----------------------------

'group_j__tools' object has no attribute 'prefab'

j.tools.reportlab.test_simple_pdf()

----------------------------------------
EXCEPTION: 
    ModuleNotFoundError("No module named 'reportlab'",)
--TRACEBACK------------------
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _execute_test
    203    test()
/sandbox/lib/jumpscale/JumpscaleLibsExtra/tools/reportlab/ReportlabFactory.py in test_simple_pdf
    71    from reportlab.pdfgen import canvas