py4cytoscape icon indicating copy to clipboard operation
py4cytoscape copied to clipboard

runalltests.bat: stuck on test_open_app_store()

Open jorgeboucas opened this issue 4 years ago • 3 comments

py4cytoscape:~/py4cytoscape/tests$ source runalltests.bat 
bash: nul: No such file or directory

real    0m0.003s
user    0m0.000s
sys     0m0.002s
Into test_get_app_information()
Out of 'test_get_app_information'
Into test_get_app_status()
'test_get_app_status' exception AssertionError("{'appName': 'boundaryLayout', 'status': 'File Moved (Uninstalled)'} != {'appName': 'boundaryLayout', 'status': 'Disabled'}\n- {'appName': 'boundaryLayout', 'status': 'File Moved (Uninstalled)'}\n?                                          ^ -------------- - ^   -\n\n+ {'appName': 'boundaryLayout', 'status': 'Disabled'}\n?                                          ^   ^\n")
Into test_get_app_updates()
Out of 'test_get_app_updates'
Into test_get_available_apps()
Out of 'test_get_available_apps'
Into test_get_installed_apps()
'test_get_installed_apps' exception AssertionError('False is not true')
Into test_install_uninstall_app()
'test_install_uninstall_app' exception AssertionError("'boundaryLayout' not found in set()")
Into test_list_disable_enable_apps()
Out of 'test_list_disable_enable_apps'
Into test_open_app_store()

Cytoscape 3.8.1 Java 11.0.6 by AdoptOpenJDK Mac OS X 10.15.7 - x86_64

Reproducible with the Docker test env.

Not sure if there is also an issue with test_get_app_status() or if the exception should be looking like this.

jorgeboucas avatar Oct 29 '20 12:10 jorgeboucas

the same happens if py4cytoscape is installed and run locally (ie. host and not in a docker container)

jorgeboucas avatar Oct 29 '20 13:10 jorgeboucas

Thanks, Jorge …

I’m a little surprised that you’re running runalltests.bat, as that’s a Windows batch file … ??I think you’re running on a Mac?? If so, should there be a *NIX-appropriate script for runalltests? I have doubts that very much of runalltests.bat is running as intended … I’m not sure how Kozo is doing this … I think he has a Mac.

The app_* issues have been seen before … I think they’re a problem with CyREST and Cytoscape, and I think they’re reported as a bug for that team to prioritize. So … I won’t close this issue out until we get a viable combination of py4cytoscape and CyREST/Cytoscape.

From: Jorge Boucas [email protected] Sent: Thursday, October 29, 2020 5:20 AM To: cytoscape/py4cytoscape [email protected] Cc: Barry Demchak [email protected]; Assign [email protected] Subject: [cytoscape/py4cytoscape] runalltests.bat: stuck on test_open_app_store() (#19)

py4cytoscape:~/py4cytoscape/tests$ source runalltests.bat bash: nul: No such file or directory

real 0m0.003s user 0m0.000s sys 0m0.002s Into test_get_app_information() Out of 'test_get_app_information' Into test_get_app_status() 'test_get_app_status' exception AssertionError("{'appName': 'boundaryLayout', 'status': 'File Moved (Uninstalled)'} != {'appName': 'boundaryLayout', 'status': 'Disabled'}\n- {'appName': 'boundaryLayout', 'status': 'File Moved (Uninstalled)'}\n? ^ -------------- - ^ -\n\n+ {'appName': 'boundaryLayout', 'status': 'Disabled'}\n? ^ ^\n") Into test_get_app_updates() Out of 'test_get_app_updates' Into test_get_available_apps() Out of 'test_get_available_apps' Into test_get_installed_apps() 'test_get_installed_apps' exception AssertionError('False is not true') Into test_install_uninstall_app() 'test_install_uninstall_app' exception AssertionError("'boundaryLayout' not found in set()") Into test_list_disable_enable_apps() Out of 'test_list_disable_enable_apps' Into test_open_app_store()

Cytoscape 3.8.1 Java 11.0.6 by AdoptOpenJDK Mac OS X 10.15.7 - x86_64

Reproducible with the Docker test env https://urldefense.com/v3/__https:/github.com/cytoscape/py4cytoscape/tree/master/docker*development-and-testing__;Iw!!Mih3wA!Tkw5NinsCVGVDX4lNN_UGA-cSco6B8M3ynfvPm0B6X7LK1BdiDceSKU-tRqmDXjp$ .

Not sure if there is also an issue with test_get_app_status() or if the exception should be looking like this.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https:/github.com/cytoscape/py4cytoscape/issues/19__;!!Mih3wA!Tkw5NinsCVGVDX4lNN_UGA-cSco6B8M3ynfvPm0B6X7LK1BdiDceSKU-tUpn480p$ , or unsubscribe https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AA4GLXVFVWCXPTW3JNSRVETSNFMYZANCNFSM4TDU5D3Q__;!!Mih3wA!Tkw5NinsCVGVDX4lNN_UGA-cSco6B8M3ynfvPm0B6X7LK1BdiDceSKU-taAiO_8J$ . https://github.com/notifications/beacon/AA4GLXRA74SH57TTVHLTXV3SNFMYZA5CNFSM4TDU5D32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4K5FP3PQ.gif

bdemchak avatar Oct 29 '20 21:10 bdemchak

x

bdemchak avatar Jan 11 '21 23:01 bdemchak