oct.results package¶
Submodules¶
oct.results.models module¶
-
class
oct.results.models.Result(*args, **kwargs)[source]¶ Bases:
peewee.Model-
DoesNotExist¶ alias of
ResultDoesNotExist
-
custom_timers= <peewee.TextField object>¶
-
elapsed= <peewee.FloatField object>¶
-
epoch= <peewee.FloatField object>¶
-
error= <peewee.TextField object>¶
-
id= <peewee.PrimaryKeyField object>¶
-
scriptrun_time= <peewee.FloatField object>¶
-
turret_name= <peewee.CharField object>¶
-
-
class
oct.results.models.Turret(*args, **kwargs)[source]¶ Bases:
peewee.Model-
DoesNotExist¶ alias of
TurretDoesNotExist
-
canons= <peewee.IntegerField object>¶
-
id= <peewee.PrimaryKeyField object>¶
-
name= <peewee.TextField object>¶
-
rampup= <peewee.IntegerField object>¶
-
script= <peewee.TextField object>¶
-
status= <peewee.TextField object>¶
-
updated_at= <peewee.DateTimeField object>¶
-
uuid= <peewee.TextField object>¶
-
oct.results.reportresults module¶
-
class
oct.results.reportresults.IntervalDetailsResults(trans_timer_points, interval_secs)[source]¶ Bases:
object-
process()¶
-
oct.results.reportwriter module¶
oct.results.resultsoutput module¶
-
oct.results.resultsoutput.output(results_dir, results_file, config, parent='../../')[source]¶ Write the results output for the given test
Parameters: - str (parents) – the directory for the results
- str – the file for the results
- int (ts_interval) – the total test time elapsed
- int – the rampup setting for the test
- int – the interval in second setting for the test
- turrets – the turrets configuration
- str – the parent directory