コード例 #1
0
    def test_encryption(self):
        self.task_schema = Schema(
            {
                'task': {
                    'payload': {
                        'encryptedEnv': All(Length(2), [
                            Match(r'^wcB')
                        ])  # Must have 2 elements, starting with wcB
                    }
                }
            },
            required=True,
            extra=True)

        test_kwargs = create_fennec_test_args({
            'updates_enabled': True,
            'repo_path': 'foo/bar',
            'branch': 'mozilla-beta',
            'signing_class': 'dep-signing',
            'release_channels': ['beta'],
            'final_verify_channels': ['beta'],
            'signing_pvt_key': PVT_KEY_FILE,
            'en_US_config': {
                "platforms": {
                    "android-4-0-armv7-api15": {
                        "unsigned_task_id": "xyz",
                        "signed_task_id": "xyz"
                    },
                    "android-4-2-x86": {
                        "unsigned_task_id": "xyz",
                        "signed_task_id": "xyz"
                    },
                }
            },
        })

        graph = make_task_graph(**test_kwargs)
        do_common_assertions(graph)
コード例 #2
0
 def test_common_assertions(self):
     do_common_assertions(self.graph)
コード例 #3
0
 def test_common_assertions(self):
     do_common_assertions(self.graph)