Skip to content

Tests are not created when importing via frontend

Summary

When importing a hektor.json via the frontend, any tests that are run during the conversion are not created in the backend.

Steps to reproduce

Convert an ILIAS export with hektor and import it via the frontend.

Example Project

What is the current bug behavior?

Tests and corresponding failure labels are not created.

What is the expected correct behavior?

Tests and labels are created.

Relevant logs and/or screenshots

Possible fixes

The issue lies in the grady-corp/djangorestframework-camel-case> plugin which transform the EmptyTest from the hektor.json into _empty_test. Adding this to the looked for keys in the util/importer code will fix this issue.