コード例 #1
0
 def test_return_empty_by_excluding_all_elements(self):
     self.assertEqual([], fixture_list(['one', 'two'], ['one', 'two']))
コード例 #2
0
 def test_return_first_list_excluding_first_element_from_the_second_2(self):
     self.assertEqual(['three'],
                      fixture_list(['one', 'two', 'three'], ['one', 'two']))
コード例 #3
0
 def test_return_empty_list_if_parameters_are_the_same(self):
     self.assertEqual([], fixture_list(['one'], ['one']))
コード例 #4
0
 def test_return_first_list_if_second_is_different(self):
     self.assertEqual(['one'], fixture_list(['one'], ['two']))
コード例 #5
0
 def test_empty_should_return_empty(self):
     self.assertEqual([], fixture_list([]))
コード例 #6
0
 def test_if_no_setting_defined_return_as_it_is(self):
     self.assertEqual(['one'], fixture_list(['one']))
コード例 #7
0
ファイル: test.py プロジェクト: Kronuz/django-colortools
 def test_return_empty_by_excluding_all_elements(self):
     self.assertEqual([], fixture_list(['one', 'two'], ['one', 'two']))
コード例 #8
0
ファイル: test.py プロジェクト: Kronuz/django-colortools
 def test_return_first_list_excluding_first_element_from_the_second_2(self):
     self.assertEqual(['three'], fixture_list(['one', 'two', 'three'], ['one', 'two']))
コード例 #9
0
ファイル: test.py プロジェクト: Kronuz/django-colortools
 def test_return_empty_list_if_parameters_are_the_same(self):
     self.assertEqual([], fixture_list(['one'], ['one']))
コード例 #10
0
ファイル: test.py プロジェクト: Kronuz/django-colortools
 def test_return_first_list_if_second_is_different(self):
     self.assertEqual(['one'], fixture_list(['one'], ['two']))
コード例 #11
0
ファイル: test.py プロジェクト: Kronuz/django-colortools
 def test_if_no_setting_defined_return_as_it_is(self):
     self.assertEqual(['one'], fixture_list(['one']))
コード例 #12
0
ファイル: test.py プロジェクト: Kronuz/django-colortools
 def test_empty_should_return_empty(self):
     self.assertEqual([], fixture_list([]))
コード例 #13
0
ファイル: test.py プロジェクト: neubloc/django-colortools
 def test_return_first_list_excluding_first_element_from_the_second_2(self):
     self.assertEqual(["three"], fixture_list(["one", "two", "three"], ["one", "two"]))
コード例 #14
0
ファイル: test.py プロジェクト: neubloc/django-colortools
 def test_return_empty_by_excluding_all_elements(self):
     self.assertEqual([], fixture_list(["one", "two"], ["one", "two"]))
コード例 #15
0
ファイル: test.py プロジェクト: neubloc/django-colortools
 def test_return_first_list_if_second_is_different(self):
     self.assertEqual(["one"], fixture_list(["one"], ["two"]))