Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KM3NeT TestData
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
km3py
KM3NeT TestData
Commits
23f8da7f
Commit
23f8da7f
authored
4 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Rename testdata to data_path
parent
0cec2e97
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#12957
failed
4 years ago
Stage: test
Stage: coverage
Stage: doc
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
km3net_testdata/__init__.py
+1
-1
1 addition, 1 deletion
km3net_testdata/__init__.py
tests/test_core.py
+2
-2
2 additions, 2 deletions
tests/test_core.py
with
3 additions
and
3 deletions
km3net_testdata/__init__.py
+
1
−
1
View file @
23f8da7f
...
@@ -4,5 +4,5 @@ from pkg_resources import get_distribution, DistributionNotFound
...
@@ -4,5 +4,5 @@ from pkg_resources import get_distribution, DistributionNotFound
version
=
get_distribution
(
__name__
).
version
version
=
get_distribution
(
__name__
).
version
def
test
data
(
*
path_elements
):
def
data
_path
(
*
path_elements
):
return
os
.
path
.
join
(
*
path_elements
)
return
os
.
path
.
join
(
*
path_elements
)
This diff is collapsed.
Click to expand it.
tests/test_core.py
+
2
−
2
View file @
23f8da7f
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
unittest
import
unittest
from
km3net_testdata
import
test
data
from
km3net_testdata
import
data
_path
class
Test
Test
Data
(
unittest
.
TestCase
):
class
TestData
Path
(
unittest
.
TestCase
):
def
test_access
(
self
):
def
test_access
(
self
):
assert
True
assert
True
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