summaryrefslogtreecommitdiff
path: root/run_module_examples.py
blob: 4f99e9ae489022c9b1e7f3a5b4c7f576ae063eef (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python2.7
"""calls the example_run method on all modules"""
from photoblaster.modules import Pb
for cls in Pb.__subclasses__():
    print cls.__name__
    if cls.__name__ == "PbBreaker":
        instance = cls.example_run()
        print instance.output_file.as_dict()
        instance.output_file.s3move()
        instance.db_send()