#! /usr/bin/python

from build_model_rpm import BuildModelRPM
from nose.tools import *

@raises(TypeError)
def test_fail_with_no_parameters():
    BuildModelRPM(None)

@raises(TypeError)
def test_fail_with_one_parameter():
    BuildModelRPM("hydrotrend")

def test_hydrotrend_version_none():
    BuildModelRPM("hydrotrend", None)

def test_hydrotrend_version_head():
    BuildModelRPM("hydrotrend", "head")

#def test_hydrotrend_tagged_version():
#    BuildModelRPM("hydrotrend", "3.0.2")

Include nose tests for hydrotrend
Include nose tests for hydrotrend
