Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.editor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.editor
Commits
47ddecfa
Commit
47ddecfa
authored
Sep 11, 2018
by
Jaden DIEFENBAUGH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[py] fix nose test failing on py27 ci
parent
053f3fc2
Pipeline
#23479
passed with stages
in 51 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
beat/editor/test/test_resources.py
beat/editor/test/test_resources.py
+2
-1
No files found.
beat/editor/test/test_resources.py
View file @
47ddecfa
...
...
@@ -48,7 +48,8 @@ def test_assert_valid_entity_invalid():
def
test_path_to_dict_file
():
currfile
=
os
.
path
.
realpath
(
__file__
)
res
=
resources
.
path_to_dict
(
currfile
)
nose
.
tools
.
eq_
(
res
,
{
'name'
:
'test_resources.py'
,
'type'
:
'file'
});
# in python 3 the first case works but in python 2 the second case works
assert
res
==
{
'name'
:
'test_resources.py'
,
'type'
:
'file'
}
or
res
==
{
'name'
:
'test_resources.pyc'
,
'type'
:
'file'
}
# the func parses this folder
def
test_path_to_dict_folder
():
...
...
Write
Preview
Markdown
is supported
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