Skip to content

Commit

Permalink
test that old import paths have not gone away
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Mar 11, 2010
1 parent df0a02f commit f680f7b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions buildbot/test/unit/test_oldpaths.py
@@ -0,0 +1,32 @@
import types

from twisted.trial import unittest

class OldImportPaths(unittest.TestCase):
"""
Test that old, deprecated import paths still work.
"""

def test_scheduler_Scheduler(self):
from buildbot.scheduler import Scheduler

def test_scheduler_AnyBranchScheduler(self):
from buildbot.scheduler import AnyBranchScheduler

def test_scheduler_Dependent(self):
from buildbot.scheduler import Dependent

def test_scheduler_Periodic(self):
from buildbot.scheduler import Periodic

def test_scheduler_Nightly(self):
from buildbot.scheduler import Nightly

def test_scheduler_Triggerable(self):
from buildbot.scheduler import Triggerable

def test_scheduler_Try_Jobdir(self):
from buildbot.scheduler import Try_Jobdir

def test_scheduler_Try_Userpass(self):
from buildbot.scheduler import Try_Userpass

0 comments on commit f680f7b

Please sign in to comment.