Check if nailgun's requirements do not conflict

Added simple test that will try to parse nailgun's
requirements and see if there are any problems with them.

Change-Id: I342eda0a3b019780e0d452455734591aab91f6e9
Closes-Bug: #1462281
This commit is contained in:
Sebastian Kalinowski 2015-06-19 11:55:44 +02:00 committed by Sebastian Kalinowski
parent 20eca6f5c0
commit fd114dbd50
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from pkg_resources import require
def test_check_requirements_conflicts():
require('nailgun')