Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Unified Data IO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Utils
FACT Unified Data IO
Commits
b5d3c5e1
Commit
b5d3c5e1
authored
4 months ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
Start cleaning tests
parent
58b37af5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/runtests.jl
+1
-16
1 addition, 16 deletions
test/runtests.jl
with
1 addition
and
16 deletions
test/runtests.jl
+
1
−
16
View file @
b5d3c5e1
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment