Esempio n. 1
0
def test_main_with_invalid_publication_id():
    main(["--publication", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 2
0
def test_main_with_invalid_variable_id():
    main(["--variable", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 3
0
def test_main_with_publication_id():
    main(["--publication", "pub-Kratz.2016$", "--endpoint", test_api_endpoint])
Esempio n. 4
0
def test_main_with_invalid_dataset_id():
    main(["--dataset", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 5
0
def test_main_with_variable_id():
    main([
        "--variable", "var-gra2005-ds1-astu011a$", "--endpoint",
        test_api_endpoint
    ])
Esempio n. 6
0
def test_main_with_invalid_question_id():
    main(["--question", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 7
0
def test_main_with_dataset_id():
    main(["--dataset", "dat-gra2005-ds1$", "--endpoint", test_api_endpoint])
Esempio n. 8
0
def test_main_with_invalid_instrument_id():
    main(["--instrument", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 9
0
def test_main_with_question_id():
    main([
        "--question", "que-gra2005-ins1-1.1$", "--endpoint", test_api_endpoint
    ])
Esempio n. 10
0
def test_main_with_invalid_survey_id():
    main(["--survey", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 11
0
def test_main_with_survey_id():
    main(["--survey", "sur-gra2005-sy1$", "--endpoint", test_api_endpoint])
Esempio n. 12
0
def test_main_with_instrument_id():
    main(
        ["--instrument", "ins-gra2005-ins1$", "--endpoint", test_api_endpoint])
Esempio n. 13
0
def test_main_with_invalid_data_package_id():
    main(["--datapackage", "hurz", "--endpoint", test_api_endpoint])
Esempio n. 14
0
def test_main_with_data_package_id():
    main(["--datapackage", "stu-gra2005$", "--endpoint", test_api_endpoint])