summaryrefslogtreecommitdiff
path: root/run_module_examples.py
blob: 3c0e29a10bc007a566c824cb6751a38fc5540487 (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__ == "PbLandscape":
        instance = cls.example_run()
        print instance.get_output_file().as_dict()
        instance.get_output_file().s3move()
        instance.db_send()