]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Add test to properly catch debian/sid strings from version 150/head
authorAndrew Woodward <awoodward@mirantis.com>
Thu, 9 Jan 2014 00:24:37 +0000 (16:24 -0800)
committerAndrew Woodward <awoodward@mirantis.com>
Thu, 9 Jan 2014 20:14:35 +0000 (12:14 -0800)
commit201c5d0649ffe2fa404cc1a4f11d002bd09a6eef
tree447d124ac61a7549f4153a6a24f63e3aefbe4694
parent2543793fb009e2880024fcd46a505615ba9585f0
Add test to properly catch debian/sid strings from version

strings for wheezy/sid and jessie/sid aren't caught by the version number
 test already implmented.

Adds test to check if codename is still empty and version contains a slash
 if so, and minor is sid, we set codename to sid. Otherwise we set codename
 to major.

Adds test cases for platform_information to test expected usage patterns
 and covers some common os strings.

Futher assessment may then made to see if we should then refuse
 jessie or sid

Signed-off-by: Andrew Woodward <awoodward@mirantis.com>
ceph_deploy/hosts/remotes.py
ceph_deploy/tests/test_remotes.py