Remove passed_lifetime; add virtual chassis; bump to 0.2.0a9
This commit is contained in:
parent
1c5b4e0b16
commit
cd8928e1cd
|
@ -65,7 +65,6 @@ components:
|
|||
status: Completed without error
|
||||
length: Short
|
||||
lifetime: 99
|
||||
passedLifetime: 99
|
||||
assessment: True
|
||||
powerCycleCount: 11
|
||||
reallocatedSectorCount: 2
|
||||
|
|
|
@ -178,3 +178,4 @@ class ComputerChassis(Enum):
|
|||
Convertible = 'Convertible'
|
||||
Detachable = 'Detachable'
|
||||
Tablet = 'Tablet'
|
||||
Virtual = 'Virtual: A device with no chassis, probably non-physical.'
|
||||
|
|
|
@ -414,7 +414,6 @@ class TestDataStorage(Test):
|
|||
status = Column(Unicode(STR_SIZE), nullable=False)
|
||||
lifetime = Column(Interval, nullable=False)
|
||||
first_error = Column(SmallInteger, nullable=False, default=0)
|
||||
passed_lifetime = Column(Interval)
|
||||
assessment = Column(Boolean)
|
||||
reallocated_sector_count = Column(SmallInteger)
|
||||
power_cycle_count = Column(SmallInteger)
|
||||
|
|
|
@ -245,7 +245,6 @@ class TestDataStorage(Test):
|
|||
status = String(validate=Length(max=STR_SIZE), required=True)
|
||||
lifetime = TimeDelta(precision=TimeDelta.DAYS, required=True)
|
||||
first_error = Integer(missing=0, data_key='firstError')
|
||||
passed_lifetime = TimeDelta(precision=TimeDelta.DAYS, data_key='passedLifetime')
|
||||
assessment = Boolean()
|
||||
reallocated_sector_count = Integer(data_key='reallocatedSectorCount')
|
||||
power_cycle_count = Integer(data_key='powerCycleCount')
|
||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open('README.md') as f:
|
|||
|
||||
setup(
|
||||
name='ereuse-devicehub',
|
||||
version='0.2.0a8',
|
||||
version='0.2.0a9',
|
||||
packages=find_packages(),
|
||||
url='https://github.com/ereuse/devicehub-teal',
|
||||
license='Affero',
|
||||
|
|
|
@ -63,7 +63,6 @@ components:
|
|||
status: Completed without error
|
||||
length: Short
|
||||
lifetime: 99
|
||||
passedLifetime: 99
|
||||
assessment: True
|
||||
powerCycleCount: 11
|
||||
reallocatedSectorCount: 2
|
||||
|
|
Reference in New Issue