Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
devflow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
itminedu
devflow
Commits
b3d0902f
Commit
b3d0902f
authored
9 years ago
by
Nikos Skalkotos
Browse files
Options
Downloads
Patches
Plain Diff
tests: Add tests for new version format
parent
1dae9911
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_versioning.py
+6
-1
6 additions, 1 deletion
tests/test_versioning.py
with
6 additions
and
1 deletion
tests/test_versioning.py
+
6
−
1
View file @
b3d0902f
#!/usr/bin/env python
#
# Copyright 2012
,
201
3
GRNET S.A. All rights reserved.
# Copyright 2012
-
201
6
GRNET S.A. All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
...
...
@@ -109,6 +109,11 @@ class TestVersionFunctions(unittest.TestCase):
(
"
0.14_120
"
,
"
<
"
,
"
0.14
"
),
(
"
0.14
"
,
"
<
"
,
"
0.14next_20
"
),
(
"
0.14next_20
"
,
"
<
"
,
"
0.14next
"
),
# New format
(
"
0.14
"
,
"
>
"
,
"
0.14dev
"
),
(
"
0.14rc1
"
,
"
>
"
,
"
0.14rc1.dev10
"
),
(
"
0.14.2rc1
"
,
"
<
"
,
"
0.14.2
"
),
(
"
0.14dev0
"
,
"
<
"
,
"
0.14.dev10
"
),
)
def
test_python_versions
(
self
):
...
...
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