Did I find the right examples for you? yes no

All Samples(44)  |  Call(0)  |  Derive(22)  |  Import(22)

src/p/y/python-omhe-HEAD/omhe/tests/wt_test.py   python-omhe(Download)
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
from omhe.core.validators.validator_errors import *
from test_utils import *
class wt_test(OMHETestCase):
    validValues = ('wt155', 'wt100', 'weight=60#tag','weight=75',
                   'weight=300k', 'weight=22l#tag','weight=800l')
    invalidOutOfRangeValues = ('weight=0','wt=#no weight just a tag', 'wt-10','wt-10k')
    invalidCommand = ('foo120/80p60#eee', 'bar=120','weigh=50','wieght=35')

src/p/y/python-omhe-HEAD/omhe/tests/pts_test.py   python-omhe(Download)
__author__ = 'mark'
 
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
class pts_test(OMHETestCase):
    validValues = ('pts10', 'pts=1005', 'pts=-50', 'pts=2000','gems=500',
                   'points=200', 'points250','gems-100','points=-90', 'pts=0')
    invalidOutOfRangeValues = ('pts=400.35','points=150.6#tags','pts=200#no tags')
    invalidCommand = ('foo120/80p60#eee', 'bar=120','gem=50','point=35')

src/p/y/python-omhe-HEAD/omhe/tests/pn_test.py   python-omhe(Download)
__author__ = 'mark'
 
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
class pn_test(OMHETestCase):
    validValues = ('pn0', 'pn=1', 'pain=2','pain3','pn=4#back'
                   'pn=5', 'pn6#again','pain7','pain=8#Neck','pn=9', 'pain=10#excrusiating' )
    invalidOutOfRangeValues = ('pn-1','pain11' , 'pn=5.5','pain=6p4')
    invalidCommand = ('foo120/80p60#eee', 'bar=120','mod=5', 'painful=9')

src/p/y/python-omhe-HEAD/omhe/tests/pbf_test.py   python-omhe(Download)
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
from omhe.core.validators.validator_errors import *
from test_utils import *
class pbf_test(OMHETestCase):
    validValues = ('pbf12.6', 'pbf=15.60', 'percentbodyfat=30','percentbodyfat60','pbf=22.00001'
                   'pbf=25.54321', 'pbf=94.9999999', 'pbf=12#added comment' )
    invalidOutOfRangeValues = ('pbf=0.5','percentbodyfat=95.1', 'pbf=0.8#tags are accepted', 'pbf=15p5')
    invalidCommand = ('foo120/80p60#eee', 'bar=120')

src/p/y/python-omhe-HEAD/omhe/tests/md_test.py   python-omhe(Download)
__author__ = 'mark'
 
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
class md_test(OMHETestCase):
    validValues = ('md0', 'md=1', 'mood=2','mood3','md=4'
                   'md=5', 'md6','mood7','mood=8','md=9', 'mood=10' )
    invalidOutOfRangeValues = ('md-1','mood11' 'md=5#tags not accepted', 'md=5.5','mood=6p4')
    invalidCommand = ('foo120/80p60#eee', 'bar=120','mod=5', 'moods=9')

src/p/y/python-omhe-HEAD/omhe/tests/frv_test.py   python-omhe(Download)
from omhe.core.parseomhe import parseomhe
from omhe.core.validators.validator_errors import *
from omhe.tests.OMHETestCase import OMHETestCase
from test_utils import *
 
class frv_test(OMHETestCase):
    """
    _frv_
    *freggies*
    frv, freggie

src/p/y/python-omhe-HEAD/omhe/tests/fm_test.py   python-omhe(Download)
__author__ = 'mark [AT] ekivemark [dot] com'
 
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
class fm_test(OMHETestCase):
    validValues = ('fm30', 'fm100', 'fatmass=60#tag','fatmass=60', 'fm30.1',
                   'fatmass=30', 'fm=22', 'fm30l', 'fm=30k', 'fm=30k#tag', 'fm=30l#tag')
    invalidOutOfRangeValues = ('fm0','fm0.1','fatmass#bad message')
    invalidCommand = ('foo120/80p60#eee', 'bar=120',) 

src/p/y/python-omhe-HEAD/omhe/tests/ffm_test.py   python-omhe(Download)
__author__ = 'mark [AT] ekivemark [dot] com'
 
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
class ffm_test(OMHETestCase):
    validValues = ('ffm30', 'ffm100', 'freefatmass=60#tag','freefatmass=60','freefatmass30',
                   'freefatmass=30', 'ffm=22', 'ffm30l', 'ffm=30k', 'ffm=30k#tag', 'ffm=30l#tag',
                   'freefatmass=0','freefatmass0')
    invalidOutOfRangeValues = ('ffm#message','ffm','ffm=#no value just hash')

src/p/y/python-omhe-HEAD/omhe/tests/ci_test.py   python-omhe(Download)
from omhe.core.parseomhe import parseomhe
from omhe.core.validators.validator_errors import *
from omhe.tests.OMHETestCase import OMHETestCase
from test_utils import *
 
class ci_test(OMHETestCase):
    """
    Command: ci
    Name: Check In
    Known Alias: ci, checkin, check-in, check

src/p/y/python-omhe-HEAD/omhe/tests/bp_test.py   python-omhe(Download)
from omhe.tests.OMHETestCase import OMHETestCase
import unittest
from omhe.core.parseomhe import parseomhe
from omhe.core.validators.validator_errors import *
 
class bp_test(OMHETestCase):
    validValues = ('bp120/80', 'bp120/80p60', 'bp120/90p60#tag','bp=090090060',
                   'bloodpressure=140/90p70', 'bloodpressure100100090')
    invalidOutOfRangeValues = ('bp1200/80p60','bp#no values just a tag')
    invalidCommand = ('foo120/80p60', 'bar=120000p60',) 

  1 | 2 | 3  Next