def test_upload_duplicate(self):
        self.params = {
            ':action': 'file_upload',
        }
        name, version, content = 'foo', '1.2', MagicMock()
        content.filename = 'foo-1.2.tar.gz'
        self.db.upload(content.filename, content, name)
        response = upload(self.request, content, name, version)
        self.assertEqual(response.status_code, 400)
Create Score Block with Params and Language
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py/TestSimple.test_upload_duplicate--crossover with--dataset/ETHPy150Open Yipit/pyeqs/tests/unit/test_score.py/test_add_score_with_params_and_lang