Skip to content

Commit

Permalink
add md_base to test_buildbot_pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
shanzi committed Apr 12, 2015
1 parent a599d48 commit 035e98b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/test_buildbot_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from twisted.trial import unittest
from textwrap import dedent


class BuildbotWWWPkg(unittest.TestCase):
pkgName = "buildbot_www"
pkgPaths = ["www", "base"]
Expand All @@ -37,6 +38,7 @@ class BuildbotWWWPkg(unittest.TestCase):
assert(apps["%(epName)s"].description is not None)
print apps["%(epName)s"]
""")

@property
def path(self):
return os.path.abspath(os.path.join(os.path.dirname(__file__), "..", *self.pkgPaths))
Expand Down Expand Up @@ -88,16 +90,23 @@ def test_sdist(self):
check_call("pip install dist/*.tar.gz", shell=True, cwd=self.path)
self.check_correct_installation()


class BuildbotMDWWWPkg(BuildbotWWWPkg):
pkgPaths = ["www", "md_base"]


class BuildbotConsolePkg(BuildbotWWWPkg):
pkgName = "buildbot-console-view"
pkgPaths = ["www", "console_view"]
epName = "console_view"


class BuildbotWaterfallPkg(BuildbotWWWPkg):
pkgName = "buildbot-waterfall-view"
pkgPaths = ["www", "waterfall_view"]
epName = "waterfall_view"


class BuildbotCodeparameterPkg(BuildbotWWWPkg):
pkgName = "buildbot-codeparameter"
pkgPaths = ["www", "codeparameter"]
Expand Down

0 comments on commit 035e98b

Please sign in to comment.