Example #1
0
 def test_redshift_with_single_existent_channel2(self):
     self.assertTrue(v._validate_redshift({"redshift": {"abc": False}}, self.z))
Example #2
0
 def test_redshift_with_non_existent_channel2(self):
     self.assertTrue(v._validate_redshift({"redshift": {"nope": False}}, self.z))
Example #3
0
 def test_redshfit_as_false(self):
     self.assertTrue(v._validate_redshift({"redshift": False}, self.z))
Example #4
0
 def test_redshift_as_true(self):
     self.assertTrue(v._validate_redshift({"redshift": True}, self.z))
Example #5
0
 def test_redshift_as_empty_dict(self):
     self.assertTrue(v._validate_redshift({"redshift": {}}, self.z))
Example #6
0
 def test_redshift_no_configuration_provided(self):
     # Redshift is not necessary
     self.assertTrue(v._validate_redshift({}, self.z))