git://git.onelab.eu
/
sfa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
this change is designed for illustrative purposes only
[sfa.git]
/
sfa
/
rspecs
/
elements
/
memory.py
1
# This is a simple illustrative example of how a memory amount could be exposed
2
# in the rspec like this <memory Gb="4"/>
3
# this is not intended for production though
4
5
from sfa.rspecs.elements.element import Element
6
7
class Memory(Element):
8
9
fields = [
10
'Gb',
11
]