numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
197 stars 118 forks source link

not ok 388 Part unit tests > Mathematical expression part #1058

Closed GrimPixel closed 7 months ago

GrimPixel commented 7 months ago
  ---
  message: Feedback messages
  severity: failed
  actual  : |+
    Your answer is numerically correct.

    You were awarded <strong>1</strong> mark.
  expected: Your answer is incorrect.
  stack: |
        at run_part_unit_tests (file:///home/user/Numbas-master/tests/parts/part-tests.mjs:103:20)
  ...
  ---
  message: Credit
  severity: failed
  actual  : 1
  expected: 0
  stack: |
        at run_part_unit_tests (file:///home/user/Numbas-master/tests/parts/part-tests.mjs:108:20)
  ...
christianp commented 7 months ago

Is this with the current master branch? I've just run the tests on my PC and they look fine, and GitHub Actions hasn't thrown an error either.

GrimPixel commented 7 months ago

It turned out I neglected the requirements.txt. It is working now.