Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fibre
portal-interface
Commits
a400348e
Commit
a400348e
authored
Nov 08, 2019
by
Felipe Fonseca
Browse files
Changed tests config files folder
parent
b8091c8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
portal/models/test.py
View file @
a400348e
...
...
@@ -28,7 +28,7 @@ class Test(object):
islands
=
[
'CPQD'
,
'NOC'
,
'PUCRS'
,
'RNP'
,
'UFBA'
,
'UFF'
,
'UFG'
,
'UFMG'
,
'UFPA'
,
'UFPE'
,
'UFRGS'
,
'UFRJ'
,
'UFSCAR'
,
'UFU'
,
'UNIFACS'
,
'USP'
]
for
test_type
in
test_types
:
config_file
=
open
(
'{}/{}-config.json'
.
format
(
tests_location
,
test_type
),
'r'
)
config_file
=
open
(
'{}/{}-config.json'
.
format
(
'/home/rnp'
,
test_type
),
'r'
)
config_data
=
json
.
load
(
config_file
)
periodicity
=
config_data
[
'periodicity'
]
...
...
portal/views/views_tests.py
View file @
a400348e
...
...
@@ -67,7 +67,7 @@ def update_test(request):
friendly presents those data.
"""
scripts_folder
=
"/home/rnp"
configs_folder
=
"/
var/www/portal/portal/static/output
"
configs_folder
=
"/
home/rnp
"
#configs_folder = '/Users/felipefonseca/Documents/FIBRE/portal-interface/portal/static/output'
if
request
.
session
[
'member_privilege'
]
<
3
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment