FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
datajoint-python/tests/test_virtual_module.py at main · atlab/datajoint-python · GitHub
atlab
datajoint-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
datajoint-python
/
tests
/
test_virtual_module.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (8 loc) · 330 Bytes
Breadcrumbs
datajoint-python
/
tests
/
test_virtual_module.py
Copy path
File metadata and controls
10 lines (8 loc) · 330 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
from
nose
.
tools
import
assert_true
import
datajoint
as
dj
from
datajoint
.
user_tables
import
UserTable
from
.
import
schema
from
.
import
CONN_INFO
def
test_virtual_module
():
module
=
dj
.
VirtualModule
(
'module'
,
schema
.
schema
.
database
,
connection
=
dj
.
conn
(
**
CONN_INFO
))
assert_true
(
issubclass
(
module
.
Experiment
,
UserTable
))
Back
|
FazBrowse Home
|
New Git URL