Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(10)  |  Derive(0)  |  Import(3)

src/p/y/pyditz-0.6/tests/test-db.py   pyditz(Download)
from nose.tools import raises
 
from ditz.database import DitzDB, DitzError
from ditz.flags import *
 
        pass
 
    db = DitzDB("MyProject", path=name, usecache=True, autosave=True)
    print db
 
def test_nosuchcomp():
    "Test nonexistent component"
 
    db = DitzDB("MyProject")
    db.add_issue("Issue 1", component='fred')
def test_norelease():
    "Test nonexistent release"
 
    db = DitzDB("MyProject")
    db.add_component("default")
def test_duprelease():
    "Test duplicate releases"
 
    db = DitzDB("MyProject")
    db.add_release("0.2")

src/p/y/pyditz-0.6/tests/test-export.py   pyditz(Download)
"""
Database export tests.
"""
 
from ditz.database import DitzDB

src/p/y/pyditz-0.6/tests/test-cmd.py   pyditz(Download)
"""
Command tests.
"""
 
from ditz.database import DitzDB