~ubuntu-branches/ubuntu/quantal/mago/quantal

« back to all changes in this revision

Viewing changes to baobab/baobab_scans.py

  • Committer: Bazaar Package Importer
  • Author(s): Ara Pulido
  • Date: 2010-12-03 16:08:32 UTC
  • Revision ID: james.westby@ubuntu.com-20101203160832-97pz2nxwmo54iwfk
Tags: 0.3-0ubuntu3
* Updated from trunk
 + Added new applications to our tests base
 + Fixes LP: #682845 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
import os
 
3
from time import time, gmtime, strftime
 
4
 
 
5
from mago.test_suite.baobab import BaobabTestSuite 
 
6
 
 
7
class BaobabScans(BaobabTestSuite):
 
8
   
 
9
    def baobab_scan_folder(self):
 
10
        dir_path = ('%s/' % (os.path.join(self.get_test_dir())))
 
11
        self.application.baobab_scan_folder(dir_path)
 
12
    
 
13
    def baobab_scan_home_directory(self):
 
14
        self.application.baobab_scan_home()
 
15
          
 
16
    def baobab_scan_filesystem(self):
 
17
        self.application.baobab_scan_filesystem()
 
18
    
 
19
if __name__ == "__main__":
 
20
    baobab_test =  BaobabScans()
 
21
    baobab_test.run()