summaryrefslogtreecommitdiff
path: root/run_module_examples.py
blob: 882de78ce0ef58c9cccf87aeb6fd0c033ea62e7d (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.get_output_file().as_dict()
        instance.get_output_file().s3move()
        instance.db_send()