Skip to content
Snippets Groups Projects
Commit b5d3c5e1 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Start cleaning tests

parent 58b37af5
No related branches found
No related tags found
No related merge requests found
using Test, DataFrames using Test, DataFrames
using FACT_unified_data_IO using FACT_unified_data_IO
using OrchestratorRegistry
@testset "FACT_unified_data_IO utilsDocker test" begin
encoded_auth = registry_login("registry.nilu.no", "FACT_token", "glpat-1zG-TQx___xLsPjj2vsG")
# Call the function to get the dictionary
obtained_conn_config = get_results_container(encoded_auth)
# Test that the obtained dictionary matches the expected values
@test obtained_conn_config["host"] == "127.0.0.1"
@test obtained_conn_config["port"] == 3330
@test obtained_conn_config["user"] == "root"
@test obtained_conn_config["password"] == "devops"
# stop container: this function is not exposed anymore
# stop_container("fact_results")
end
@testset "FACT_unified_data_IO manifestIO test" begin @testset "FACT_unified_data_IO manifestIO test" begin
encoded_auth = registry_login("registry.nilu.no", "FACT_token", "glpat-1zG-TQx___xLsPjj2vsG")
# Call the function to get the connection # Call the function to get the connection
dict = get_results_container(encoded_auth) dict = get_results_container(encoded_auth)
conn = get_connection(dict) conn = get_connection(dict)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment