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
csst-dfs
csst-dfs-api
Commits
c2a97abf
Commit
c2a97abf
authored
Feb 24, 2021
by
Wei Shoulin
Browse files
first commit
parents
Changes
42
Hide whitespace changes
Inline
Side-by-side
setup.py
0 → 100644
View file @
c2a97abf
# coding: utf-8
import
os
from
setuptools
import
setup
setup
(
use_scm_version
=
{
'write_to'
:
os
.
path
.
join
(
'csst_dfs_api'
,
'_version.py'
)})
tests/test_ifs_fits.py
0 → 100644
View file @
c2a97abf
import
unittest
from
csst_dfs_api.ifs
import
FitsApi
class
IFSFitsTestCase
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
api
=
FitsApi
()
def
test_find
(
self
):
files
=
self
.
api
.
find
()
print
(
"find "
,
len
(
files
))
\ No newline at end of file
Prev
1
2
3
Next
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