assembl.lib.antivirus module

class assembl.lib.antivirus.MockPositiveAntiVirus[source]

Bases: assembl.lib.antivirus.AntiVirus

A Mock antivirus for testing. Reports no file infected.

class assembl.lib.antivirus.MockRandomAntiVirus[source]

Bases: assembl.lib.antivirus.AntiVirus

A Mock antivirus for testing. Reports 10%% files infected.

class assembl.lib.antivirus.MockRandomFileAntiVirus[source]

Bases: assembl.lib.antivirus.AntiVirus

A Mock antivirus for testing. Reports 10%% files infected.

assembl.lib.antivirus.random() → x in the interval [0, 1).