commit
4adcff0d6e
|
@ -1 +1 @@
|
||||||
__version__ = "1.0.10-beta"
|
__version__ = "1.0.9-beta"
|
||||||
|
|
|
@ -42,7 +42,7 @@ class DeviceRow(OrderedDict):
|
||||||
software = "{software} {version}".format(
|
software = "{software} {version}".format(
|
||||||
software=snapshot.software.name, version=snapshot.version)
|
software=snapshot.software.name, version=snapshot.version)
|
||||||
# General information about device
|
# General information about device
|
||||||
self['DevicehubID'] = device.devicehub_id
|
self['DHID'] = device.devicehub_id
|
||||||
self['DocumentID'] = self.document_id
|
self['DocumentID'] = self.document_id
|
||||||
self['Public Link'] = '{url}{id}'.format(
|
self['Public Link'] = '{url}{id}'.format(
|
||||||
url=url_for('Device.main', _external=True),
|
url=url_for('Device.main', _external=True),
|
||||||
|
@ -425,7 +425,7 @@ class ActionRow(OrderedDict):
|
||||||
def __init__(self, allocate):
|
def __init__(self, allocate):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
# General information about allocates, deallocate and lives
|
# General information about allocates, deallocate and lives
|
||||||
self['DevicehubID'] = allocate['devicehubID']
|
self['DHID'] = allocate['devicehubID']
|
||||||
self['Hid'] = allocate['hid']
|
self['Hid'] = allocate['hid']
|
||||||
self['Start'] = allocate['start']
|
self['Start'] = allocate['start']
|
||||||
self['FinalUserCode'] = allocate['finalUserCode']
|
self['FinalUserCode'] = allocate['finalUserCode']
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -183,7 +183,7 @@ def test_live_export_csv2(user: UserClient, client: Client, app: Devicehub):
|
||||||
|
|
||||||
assert "4692" in csv_user
|
assert "4692" in csv_user
|
||||||
assert "8692" in csv_user
|
assert "8692" in csv_user
|
||||||
assert "DevicehubID" in csv_user
|
assert "DHID" in csv_user
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.mvp
|
@pytest.mark.mvp
|
||||||
|
|
Reference in New Issue