3161f702339e731ed1e58aa5be50f4f1043fd36d,registry/tests/push_install_test.py,PushInstallTestCase,testTeamAccessFails,#PushInstallTestCase#,948

Before Change


                is_team=True,
                description="",
                contents=self.CONTENTS,
                sizes={self.HASH1: 1, self.HASH2: 2, self.HASH3: 3}
            ), default=encode_node),
            content_type="application/json",
            headers={
                "Authorization": "test_user"

After Change



    @patch("quilt_server.views.ALLOW_ANONYMOUS_ACCESS", True)
    @patch("quilt_server.views.ALLOW_TEAM_ACCESS", False)
    def testTeamAccessFails(self):
        // Verify that --team fails in the public cloud.
        resp = self.app.put(
            "/api/package/test_user/foo/%s" % self.CONTENTS_HASH,
            data=json.dumps(dict(
                is_team=True,
                description="",
                contents=self.CONTENTS,
                sizes=fake_obj_sizes(self.CONTENTS),
            ), default=encode_node),
            content_type="application/json",
            headers={
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: quiltdata/quilt
Commit Name: 3161f702339e731ed1e58aa5be50f4f1043fd36d
Time: 2018-12-18
Author: dima@gmail.com
File Name: registry/tests/push_install_test.py
Class Name: PushInstallTestCase
Method Name: testTeamAccessFails


Project Name: quiltdata/quilt
Commit Name: 3161f702339e731ed1e58aa5be50f4f1043fd36d
Time: 2018-12-18
Author: dima@gmail.com
File Name: registry/tests/push_install_test.py
Class Name: PushInstallTestCase
Method Name: testInstallSubpath


Project Name: quiltdata/quilt
Commit Name: 3161f702339e731ed1e58aa5be50f4f1043fd36d
Time: 2018-12-18
Author: dima@gmail.com
File Name: registry/tests/push_install_test.py
Class Name: PushInstallTestCase
Method Name: testTeams


Project Name: quiltdata/quilt
Commit Name: 3161f702339e731ed1e58aa5be50f4f1043fd36d
Time: 2018-12-18
Author: dima@gmail.com
File Name: registry/tests/push_install_test.py
Class Name: PushInstallTestCase
Method Name: testOldPublicParamn


Project Name: quiltdata/quilt
Commit Name: 3161f702339e731ed1e58aa5be50f4f1043fd36d
Time: 2018-12-18
Author: dima@gmail.com
File Name: registry/tests/push_install_test.py
Class Name: PushInstallTestCase
Method Name: testTeamAccessFails


Project Name: quiltdata/quilt
Commit Name: 3161f702339e731ed1e58aa5be50f4f1043fd36d
Time: 2018-12-18
Author: dima@gmail.com
File Name: registry/tests/push_install_test.py
Class Name: PushInstallTestCase
Method Name: testSuccessfulPushInstall