Beispiel #1
0
 def test_return_correct_data(self, fetch_allthethings_data):
     """get_SETA_info should return a list with correct SETA iterval for given buildername."""
     fetch_allthethings_data.return_value = ALLTHETHINGS
     assert get_SETA_info(
         "Windows 7 VM 32-bit mozilla-inbound opt test mochitest-2") == [
             8, 3600
         ]  # flake8: noqa
 def test_return_correct_data(self, fetch_allthethings_data):
     """get_SETA_info should return a list with correct SETA iterval for given buildername."""
     fetch_allthethings_data.return_value = MOCK_ALLTHETHINGS
     self.assertEquals(
         get_SETA_info("Rev4 MacOSX Snow Leopard 10.6 fx-team debug test cppunit"),
         [7, 3600]
     )
Beispiel #3
0
def get_maxRevisions(buildername):
    return get_SETA_info(buildername)
 def test_return_correct_data(self, fetch_allthethings_data):
     """get_SETA_info should return a list with correct SETA iterval for given buildername."""
     fetch_allthethings_data.return_value = ALLTHETHINGS
     assert get_SETA_info("Windows 7 VM 32-bit mozilla-inbound opt test mochitest-2") == [8, 3600]  # flake8: noqa
Beispiel #5
0
 def test_return_correct_data(self, fetch_allthethings_data):
     """get_SETA_info should return a list with correct SETA iterval for given buildername."""
     fetch_allthethings_data.return_value = ALLTHETHINGS
     assert get_SETA_info(
         "Ubuntu VM 12.04 x64 fx-team opt test mochitest-2") == [7, 3600]
Beispiel #6
0
 def test_return_correct_data(self, fetch_allthethings_data):
     """get_SETA_info should return a list with correct SETA iterval for given buildername."""
     fetch_allthethings_data.return_value = ALLTHETHINGS
     assert get_SETA_info("Ubuntu VM 12.04 x64 fx-team opt test mochitest-2") == [7, 3600]