Ejemplo n.º 1
0
from kitchen.versioning import version_tuple_to_string

__version_info__ = ((1, 0, 0), )
__version__ = version_tuple_to_string(__version_info__)

__all__ = ('base64', 'sets', 'subprocess')
Ejemplo n.º 2
0
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with kitchen; if not, see <http://www.gnu.org/licenses/>
#
# Authors:
#   Toshio Kuratomi <*****@*****.**>
#
'''
Kitchen

Aggregate of a bunch of unrelated but helpful python modules.
'''

# Pylint disabled messages:
# :C0103: We need gettext aliases for both unicode strings and byte strings.
#   The byte string one (b_) triggers this warning.
from kitchen import i18n
from kitchen import versioning

(_, N_) = i18n.easy_gettext_setup('kitchen.core')
#pylint: disable-msg=C0103
(b_, bN_) = i18n.easy_gettext_setup('kitchen.core', use_unicode=False)
#pylint: enable-msg=C0103

__version_info__ = ((1, 2, 0), ('a', 1))
__version__ = versioning.version_tuple_to_string(__version_info__)

__all__ = ('exceptions', 'release',)
Ejemplo n.º 3
0
 def check_ver_tuple_to_str(self, v_tuple, v_str):
     tools.ok_(version_tuple_to_string(v_tuple) == v_str)
 def check_ver_tuple_to_str(self, v_tuple, v_str):
     tools.eq_(version_tuple_to_string(v_tuple), v_str)