def test_get_filepath_pairs_by_interaction_no_pairs_repeat_files(self):
		filepaths = ['/test/test/0209_f01_m01.csv',
					'/test/test/0209_m02_f01.csv',
					'/test/test/0209_f01_m01.csv',
					'/test/test/0209_m02_f01.csv']
		actual = data_utils.get_filepath_pairs_by_interaction(filepaths)
		expected = []
		self.assertItemsEqual(actual, expected)
	def test_get_filepath_pairs_by_interaction_matched_pairs_exist(self):
		filepaths = ['/test/test/0209_f01_m01.csv',
					'/test/test/0209_m01_f01.csv',
					'/test/test/0209_f01_m02.csv',
					'/test/test/0209_m02_f01.csv']
		actual = data_utils.get_filepath_pairs_by_interaction(filepaths)
		expected = [('/test/test/0209_f01_m01.csv', '/test/test/0209_m01_f01.csv'),
					('/test/test/0209_f01_m02.csv', '/test/test/0209_m02_f01.csv')]
		self.assertItemsEqual(actual, expected)
 def test_get_filepath_pairs_by_interaction_no_pairs_repeat_files(self):
     filepaths = [
         "/test/test/0209_f01_m01.csv",
         "/test/test/0209_m02_f01.csv",
         "/test/test/0209_f01_m01.csv",
         "/test/test/0209_m02_f01.csv",
     ]
     actual = data_utils.get_filepath_pairs_by_interaction(filepaths)
     expected = []
     self.assertItemsEqual(actual, expected)
 def test_get_filepath_pairs_by_interaction_matched_pairs_exist(self):
     filepaths = [
         "/test/test/0209_f01_m01.csv",
         "/test/test/0209_m01_f01.csv",
         "/test/test/0209_f01_m02.csv",
         "/test/test/0209_m02_f01.csv",
     ]
     actual = data_utils.get_filepath_pairs_by_interaction(filepaths)
     expected = [
         ("/test/test/0209_f01_m01.csv", "/test/test/0209_m01_f01.csv"),
         ("/test/test/0209_f01_m02.csv", "/test/test/0209_m02_f01.csv"),
     ]
     self.assertItemsEqual(actual, expected)
	def test_get_filepath_pairs_by_interaction_no_pairs(self):
		filepaths = []
		actual = data_utils.get_filepath_pairs_by_interaction(filepaths)
		expected = []
		self.assertEquals(actual, expected)
 def test_get_filepath_pairs_by_interaction_no_pairs(self):
     filepaths = []
     actual = data_utils.get_filepath_pairs_by_interaction(filepaths)
     expected = []
     self.assertEquals(actual, expected)