Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Yori Fournier
myplotlib
Commits
4f45c43a
Commit
4f45c43a
authored
Feb 02, 2018
by
Yori Fournier
Browse files
add the localhost testing with the import test
parent
9ed622f0
Changes
5
Hide whitespace changes
Inline
Side-by-side
test/localhost/clean_test_folder.sh
0 → 100755
View file @
4f45c43a
# Destroy the symbolic links
# On the server side
cd
myplotlib
# save the config
mv
config.py config.save
find
.
-maxdepth
1
-name
"*.py"
-exec
unlink
{}
\;
# recover theconfig
mv
config.save config.py
test/localhost/import_test.py
0 → 100644
View file @
4f45c43a
import
sys
sys
.
path
.
insert
(
0
,
'./'
)
import
myplotlib
as
mpl
test/localhost/myplotlib/.gitignore
0 → 100644
View file @
4f45c43a
*
!.gitignore
!config.py
test/localhost/myplotlib/config.py
0 → 100644
View file @
4f45c43a
from
.myData
import
MyData
# TECHNICAL ------------------------------------------------------------
D_VERSION
=
'v5'
D_HIERARCHY
=
'LOCAL'
D_HOST
=
'localhost'
D_PORT
=
50803
# FORM -----------------------------------------------------------------
INFO
=
" > info-: "
WARN
=
" > warn-: "
SEVR
=
" > sevr-: "
DBUG
=
" > dbug-: "
SPCE
=
" > -----: "
# CONFIGURATION --------------------------------------------------------
# myFig
D_FIGNUM
=
0
# default figure number
D_FIGSIZE
=
(
8.
,
6.
)
# default figure size
D_REFORMAT
=
True
# default reformat value
D_FORMATTED
=
False
# default formatted value
D_RAWDATA
=
MyData
()
# default raw data
D_INPUTARG
=
'current'
# default Input argument
# myIOs
D_IPATH
=
'../'
# default path to project
# print2file
D_OPATH
=
'myplotlib/img/'
# default path to ouput
D_OFORMAT
=
'png'
# default format for ouput
# Debug
D_DEBUG
=
True
# default debug value
test/localhost/setup_test_folders.sh
0 → 100755
View file @
4f45c43a
# create the necessary links to run the tests
# On the virtual local host
cd
myplotlib
find ../../../
-maxdepth
1
-name
"*.py"
-exec
ln
-s
{}
.
\;
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment