コード例 #1
0
 def test_check_network_quotas_sufficient(self):
     # arrange
     c_yarn_cluster = YarnCluster(self.opts)
     expected = 0  # success
     # act
     returned = c_yarn_cluster.check_network_quotas()
     # assert
     self.assertEqual(expected, returned)