VirtualBox

Ignore:
Timestamp:
Dec 21, 2016 2:36:33 PM (8 years ago)
Author:
vboxsync
Message:

testmanager/webui: started on test result filtering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuiadmintestbox.py

    r64719 r64986  
    205205            cDead   = 0;
    206206            for oTestBox in self._aoEntries:
    207                 oDelta = oTestBox.tsCurrent - oTestBox.oStatus.tsUpdated;
    208                 if oDelta.days <= 0 and oDelta.seconds <= self.kcSecMaxStatusDeltaAlive:
    209                     if oTestBox.fEnabled:
    210                         cActive += 1;
     207                if oTestBox.oStatus is not None:
     208                    oDelta = oTestBox.tsCurrent - oTestBox.oStatus.tsUpdated;
     209                    if oDelta.days <= 0 and oDelta.seconds <= self.kcSecMaxStatusDeltaAlive:
     210                        if oTestBox.fEnabled:
     211                            cActive += 1;
     212                    else:
     213                        cDead += 1;
    211214                else:
    212215                    cDead += 1;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette