Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
Bug 674357, Write a test to make sure slaves can't be allocated to bo…
Browse files Browse the repository at this point in the history
…th try and prod (actually add the test), r=rail
  • Loading branch information
nthomas-mozilla committed Jul 26, 2011
1 parent 2a02c14 commit a51dedf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions mozilla/test/test_slave_allocation.py
@@ -0,0 +1,19 @@
from twisted.trial import unittest
from twisted.python import log

import production_config as prod
import staging_config as stag

class SlaveCheck(unittest.TestCase):
def test_Win32_Prod_Try(self):
self.assertEqual(set(prod.WIN32_IXS) & set(prod.TRY_WIN32_IXS), set([]))

def test_Win64_Prod_Try(self):
self.assertEqual(set(prod.WIN64_IXS) & set(prod.TRY_WIN64_IXS), set([]))

def test_Linux32_Prod_Try(self):
self.assertEqual(set(prod.LINUX_IXS) & set(prod.TRY_LINUX_IXS), set([]))

def test_Linux64_Prod_Try(self):
self.assertEqual(set(prod.LINUX64_IXS) & set(prod.TRY_LINUX64_IXS), set([]))

0 comments on commit a51dedf

Please sign in to comment.