Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (16 sloc) 0.563 kB
#!/usr/bin/python
# -*- coding: utf-8 -*-
# django-pyvows extensions
# https://github.com/rafaelcaricio/django-pyvows
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2011 Rafael Caricio rafael@caricio.com
from types import TupleType
from pyvows import Vows, expect
@Vows.batch
class VersionVows(Vows.Context):
def topic(self):
from django_pyvows.version import __version__
return __version__
def should_be_an_tuple(self, topic):
expect(topic).to_be_instance_of(TupleType)
Jump to Line
Something went wrong with that request. Please try again.