buildframework/helium/sf/python/pythoncore/lib/pythoncoretests/test_preparation.py
equal
deleted
inserted
replaced
15 #Contributors: |
15 #Contributors: |
16 # |
16 # |
17 #Description: |
17 #Description: |
18 #=============================================================================== |
18 #=============================================================================== |
19 """ Testing preparation module """ |
19 """ Testing preparation module """ |
20 |
|
21 # pylint: disable=R0201 |
|
22 |
20 |
23 import tempfile |
21 import tempfile |
24 from shutil import rmtree |
22 from shutil import rmtree |
25 import os |
23 import os |
26 import logging |
24 import logging |
494 |
492 |
495 def exists(self): |
493 def exists(self): |
496 """Emulating project.exists method""" |
494 """Emulating project.exists method""" |
497 return True |
495 return True |
498 |
496 |
499 def snapshot(self, target_dir, status): |
497 def snapshot(self, target_dir, _): |
500 """Emulating project.snapshot method""" |
498 """Emulating project.snapshot method""" |
501 print "Snapshot created" |
499 print "Snapshot created: target_dir = " + str(target_dir) |
502 |
500 |
503 def update(self, status, replace_subprojects, update_keepgoing, result): |
501 def update(self, status, replace_subprojects, update_keepgoing, result): |
504 """Emulating project.update method""" |
502 """Emulating project.update method""" |
505 pass |
503 pass |
506 |
504 |