Beispiel #1
0
 def test_resize(self):
     self.expected.resize = True
     args = commands.parse_photos([self.folder, '-r'])
     self.assertEqual(args, self.expected)
Beispiel #2
0
 def test_long(self):
     self.expected.long = True
     args = commands.parse_photos([self.folder, '-l'])
     self.assertEqual(args, self.expected)
Beispiel #3
0
 def test_picasa(self):
     self.expected.picasa = True
     args = commands.parse_photos([self.folder, '-c'])
     self.assertEqual(args, self.expected)
Beispiel #4
0
 def test_unexpected(self):
     self.expected.unexpected_ext = True
     args = commands.parse_photos([self.folder, '-x'])
     self.assertEqual(args, self.expected)
Beispiel #5
0
 def test_upper(self):
     self.expected.upper = True
     args = commands.parse_photos([self.folder, '-u'])
     self.assertEqual(args, self.expected)
Beispiel #6
0
 def test_nominal(self):
     args = commands.parse_photos([self.folder])
     self.assertEqual(args, self.expected)