diff options
author | ankitjavalkar | 2015-04-21 18:15:10 +0530 |
---|---|---|
committer | ankitjavalkar | 2015-04-26 19:46:01 +0530 |
commit | 0580f99fecc0bb495beb5706e18246834174710b (patch) | |
tree | d3c427f14f44d3018fe1592f276c27e16fe77fb2 /testapp/exam/evaluate_cpp.py | |
parent | 3ffdba6e587422a0f2955879d12e0b2aeac342e1 (diff) | |
download | online_test-0580f99fecc0bb495beb5706e18246834174710b.tar.gz online_test-0580f99fecc0bb495beb5706e18246834174710b.tar.bz2 online_test-0580f99fecc0bb495beb5706e18246834174710b.zip |
Add code checker registration class
Diffstat (limited to 'testapp/exam/evaluate_cpp.py')
-rw-r--r-- | testapp/exam/evaluate_cpp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testapp/exam/evaluate_cpp.py b/testapp/exam/evaluate_cpp.py index 1723d3b..87bd7a3 100644 --- a/testapp/exam/evaluate_cpp.py +++ b/testapp/exam/evaluate_cpp.py @@ -9,6 +9,8 @@ import importlib # local imports from evaluate_c import EvaluateC from code_server import TestCode +from registry import registry + class EvaluateCpp(EvaluateC, TestCode): @@ -41,3 +43,5 @@ class EvaluateCpp(EvaluateC, TestCode): os.remove(submit_path) return success, err + +registry.register('cpp', evaluate_cpp, EvaluateCpp)
\ No newline at end of file |