def test_upload_bad_action(self):
        self.params = {
            ':action': 'blah',
        }
        name, version, content = 'foo', 'bar', 'baz'
        response = upload(self.request, content, name, version)
        self.assertEqual(response.status_code, 400)
Upload endpoint only respects 'file_upload' action
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py/TestSimple.test_upload_bad_action