def test_06_visualization_api( self ): """Test API for visualizations. """ self.run_js_script( 'api-visualizations-tests.js' ) def test_07_tools_api( self ): """Test API for tools. """ self.run_js_script( 'api-tool-tests.js' ) def test_08_configuration_api( self ): """Test API for configuration. """ self.run_js_script( 'api-configuration-tests.js' ) def test_09_user_api( self ): """Test API for users. """ self.run_js_script( 'api-user-tests.js' ) # ==================================================================== MAIN if __name__ == '__main__': log.setLevel( logging.DEBUG ) from server_env import log as server_env_log server_env_log.setLevel( logging.DEBUG ) setup_module() # TODO: server_env config doesn't work with unittest's lame main fn unittest.main() # teardown_module() isn't called when unittest.main is used
self.run_js_script( 'anon-history-tests.js' ) class Test_04_HDAs( CasperJSTestCase ): """Tests for HistoryDatasetAssociation fetching, rendering, and modeling. """ def test_00_HDA_states( self ): """Test structure rendering of HDAs in all the possible HDA states """ self.run_js_script( 'hda-state-tests.js' ) class Test_05_API( CasperJSTestCase ): """Tests for API functionality and security. """ def test_00_history_api( self ): """Test history API. """ self.run_js_script( 'api-history-tests.js' ) # ==================================================================== MAIN if __name__ == '__main__': log.setLevel( logging.DEBUG ) from server_env import log as server_env_log server_env_log.setLevel( logging.DEBUG ) setup_module() #TODO: server_env config doesn't work with unittest's lame main fn unittest.main() # teardown_module() isn't called when unittest.main is used