Application Explore

The EXPLORE application contains the actions to generate index mutation from Nextclade.

Key files of the « Explore » application

test.py

class apps.explore.tests.exploreTestCase(methodName='runTest')
setUp()

Hook method for setting up the test fixture before exercising it.

test_explore_mut_log()

Test get mut page

test_explore_mut_no_log()

Test get mut page

test_explore_mutation_page()

Test get explore page

test_explore_page()

Test get explore page

test_explore_page_no_log()

Test get explore page

test_explore_page_post_autre()

Test post explore page : autre

test_explore_page_post_autreIndicSeq()

Test post explore page : autreIndicSeq

test_explore_page_post_clade()

Test post explore page : clade

test_explore_page_post_enqueteFlash()

Test post explore page : indication (here : enqueteFlash)

test_explore_page_post_export()

Test post explore page : Export

test_explore_page_post_labo()

Test post explore page : labo

test_explore_page_post_lignage()

Test post explore page : clade

test_explore_page_post_var()

Test post explore page : enqueteFlash

test_str2bool()

Test convert string to bool

test_title()

Test function to convert col name to readable name

class apps.explore.tests.exploreTestCase_data(methodName='runTest')

Test for explore with data

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_explore_detail_page()

Test get explore page

test_explore_mut_log_text()

Test get explore page

test_explore_nextclade_pango_page()

Test get nextclade pango page

view.py

apps.explore.views.api_search_mut_no_index_json(self, request, *args, **kwargs)

SUMMARY LINE

Get results with a mutation or list of mutations

Renvoie

JSON

apps.explore.views.listing(request)

View to explore results in database

apps.explore.views.str2bool(v)

Function to convert str to bool