<s> from os . path import exists , join <EOL> import pytest <EOL> import shutil <EOL> import voodoo <EOL> def test_get_vcs_from_url ( ) : <EOL> get = voodoo . vcs . get_vcs_from_url <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) . type == '<STR_LIT>' <EOL> assert get ( '<STR_LIT>' ) is None <EOL> assert get ( '<STR_LIT>' ) is None <EOL> @ pytest . mark . slow <EOL> def test_clone ( ) : <EOL> urls = [ <EOL> '<STR_LIT>' , <EOL> ] <EOL> for url in urls : <EOL> vcs = voodoo . vcs . get_vcs_from_url ( url ) <EOL> tmp = voodoo . vcs . clone ( vcs ) <EOL> assert tmp <EOL> assert exists ( join ( tmp , '<STR_LIT>' ) ) <EOL> shutil . rmtree ( tmp ) </s>
