Esempio n. 1
0
    def test_macster(self):
        macster(self.TEST_DIRECTORY)

        all_dirs = [self.TEST_DIRECTORY, ] + self.TEST_SUBDIRS
        for dir_ in all_dirs:
            dsstore_file = os.path.join(dir_, '.DS_Store')
            self.assertEqual(os.path.exists(dsstore_file), True)
Esempio n. 2
0
    def test_macster(self):
        macster(self.TEST_DIRECTORY)

        all_dirs = [
            self.TEST_DIRECTORY,
        ] + self.TEST_SUBDIRS
        for dir_ in all_dirs:
            dsstore_file = os.path.join(dir_, '.DS_Store')
            self.assertEqual(os.path.exists(dsstore_file), True)
Esempio n. 3
0
from macster import macster
import sys

if len(sys.argv) == 1:
    path = "."
elif len(sys.argv) == 2:
    path = sys.argv[1]

macster(path)

print 'success'

print """
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//:/+++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/:-.`   :+++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++:-`       /+++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++:.         `++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++/.           :++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++/`           -+++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++/`           :++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++-          ./+++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++/        `.:/++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++/    ``.:/+++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++//////////+++++++/:::://+++////::://///+++++++++++++++++++++++++++++
++++++++++++++++++++++++++++//-..```   ```.-://+++++++//:-.```       ``.-://++++++++++++++++++++++++
+++++++++++++++++++++++++/:.`                 `.-:::-.``                  `.-/++++++++++++++++++++++
+++++++++++++++++++++++/-`                                                   `-/++++++++++++++++++++