Class: BasePythonMetadataHook
- Inherits:
-
Mumukit::Hook
- Object
- Mumukit::Hook
- BasePythonMetadataHook
show all
- Defined in:
- lib/base/metadata_hook.rb
Instance Method Summary
collapse
Instance Method Details
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# File 'lib/base/metadata_hook.rb', line 2
def metadata
{language: {
name: 'python',
icon: {type: 'devicon', name: 'python'},
version: version,
extension: 'py',
ace_mode: 'python'
},
test_framework: {
name: 'unittest',
test_extension: 'py',
template: <<python
class Test(unittest.TestCase):
def test_description_example(self):
self.assertTrue(True)
python
}}
end
|