def test_generate_copy_tasks_to_copy_from_source_to_target(self):
    'Test generate_copy_tasks_to_copy_from_source_to_target queues up\n        the same number of copy tasks as the number of files in the directory.\n        '
    assets_hashes = build.get_file_hashes(MOCK_ASSETS_DEV_DIR)
    total_file_count = build.get_file_count(MOCK_ASSETS_DEV_DIR)
    copy_tasks = collections.deque()
    self.assertEqual(len(copy_tasks), 0)
    copy_tasks += build.generate_copy_tasks_to_copy_from_source_to_target(MOCK_ASSETS_DEV_DIR, MOCK_ASSETS_OUT_DIR, assets_hashes)
    self.assertEqual(len(copy_tasks), total_file_count)
Test generate_copy_tasks_to_copy_from_source_to_target queues up
the same number of copy tasks as the number of files in the directory.
def test_generate_copy_tasks_to_copy_from_source_to_target(self):
    'Test generate_copy_tasks_to_copy_from_source_to_target queues up\n        the same number of copy tasks as the number of files in the directory.\n        '
    assets_hashes = build.get_file_hashes(MOCK_ASSETS_DEV_DIR)
    total_file_count = build.get_file_count(MOCK_ASSETS_DEV_DIR)
    copy_tasks = collections.deque()
    self.assertEqual(len(copy_tasks), 0)
    copy_tasks += build.generate_copy_tasks_to_copy_from_source_to_target(MOCK_ASSETS_DEV_DIR, MOCK_ASSETS_OUT_DIR, assets_hashes)
    self.assertEqual(len(copy_tasks), total_file_count)