'This test validates that an image asset is NOT imported when do_import_static=False'

def test_asset_import_nostatic(self):

    content_store = contentstore()
    module_store = modulestore()
    import_course_from_xml(module_store, self.user.id, TEST_DATA_DIR, ['toy'], static_content_store=content_store, do_import_static=False, create_if_not_present=True, verbose=True)
    course = module_store.get_course(module_store.make_course_key('edX', 'toy', '2012_Fall'))
    (all_assets, count) = content_store.get_all_content_for_course(course.id)
    self.assertEqual(len(all_assets), 0)
    self.assertEqual(count, 0)
