Remove passed_lifetime; add virtual chassis; bump to 0.2.0a9

This commit is contained in:
Xavier Bustamante Talavera 2018-06-27 10:40:21 +02:00
parent 1c5b4e0b16
commit cd8928e1cd
6 changed files with 2 additions and 5 deletions

View File

@ -65,7 +65,6 @@ components:
status: Completed without error status: Completed without error
length: Short length: Short
lifetime: 99 lifetime: 99
passedLifetime: 99
assessment: True assessment: True
powerCycleCount: 11 powerCycleCount: 11
reallocatedSectorCount: 2 reallocatedSectorCount: 2

View File

@ -178,3 +178,4 @@ class ComputerChassis(Enum):
Convertible = 'Convertible' Convertible = 'Convertible'
Detachable = 'Detachable' Detachable = 'Detachable'
Tablet = 'Tablet' Tablet = 'Tablet'
Virtual = 'Virtual: A device with no chassis, probably non-physical.'

View File

@ -414,7 +414,6 @@ class TestDataStorage(Test):
status = Column(Unicode(STR_SIZE), nullable=False) status = Column(Unicode(STR_SIZE), nullable=False)
lifetime = Column(Interval, nullable=False) lifetime = Column(Interval, nullable=False)
first_error = Column(SmallInteger, nullable=False, default=0) first_error = Column(SmallInteger, nullable=False, default=0)
passed_lifetime = Column(Interval)
assessment = Column(Boolean) assessment = Column(Boolean)
reallocated_sector_count = Column(SmallInteger) reallocated_sector_count = Column(SmallInteger)
power_cycle_count = Column(SmallInteger) power_cycle_count = Column(SmallInteger)

View File

@ -245,7 +245,6 @@ class TestDataStorage(Test):
status = String(validate=Length(max=STR_SIZE), required=True) status = String(validate=Length(max=STR_SIZE), required=True)
lifetime = TimeDelta(precision=TimeDelta.DAYS, required=True) lifetime = TimeDelta(precision=TimeDelta.DAYS, required=True)
first_error = Integer(missing=0, data_key='firstError') first_error = Integer(missing=0, data_key='firstError')
passed_lifetime = TimeDelta(precision=TimeDelta.DAYS, data_key='passedLifetime')
assessment = Boolean() assessment = Boolean()
reallocated_sector_count = Integer(data_key='reallocatedSectorCount') reallocated_sector_count = Integer(data_key='reallocatedSectorCount')
power_cycle_count = Integer(data_key='powerCycleCount') power_cycle_count = Integer(data_key='powerCycleCount')

View File

@ -5,7 +5,7 @@ with open('README.md') as f:
setup( setup(
name='ereuse-devicehub', name='ereuse-devicehub',
version='0.2.0a8', version='0.2.0a9',
packages=find_packages(), packages=find_packages(),
url='https://github.com/ereuse/devicehub-teal', url='https://github.com/ereuse/devicehub-teal',
license='Affero', license='Affero',

View File

@ -63,7 +63,6 @@ components:
status: Completed without error status: Completed without error
length: Short length: Short
lifetime: 99 lifetime: 99
passedLifetime: 99
assessment: True assessment: True
powerCycleCount: 11 powerCycleCount: 11
reallocatedSectorCount: 2 reallocatedSectorCount: 2