This commit is contained in:
rebecca-makar 2019-01-24 09:19:16 -05:00
Родитель d6ab96ce45
Коммит 3a6c7f383d
1 изменённых файлов: 15 добавлений и 15 удалений

Просмотреть файл

@ -26,22 +26,22 @@ command3 = ""
class TestEdasim:
def test_download_go(self, ssh_con):
commands = """
wget https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz
tar xvf go1.11.2.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
mkdir ~/gopath
echo "export GOPATH=$HOME/gopath" >> ~/.profile
echo "export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin" >> ~/.profile
source ~/.profile
rm go1.11.2.linux-amd64.tar.gz
# def test_download_go(self, ssh_con):
# commands = """
# wget https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz
# tar xvf go1.11.2.linux-amd64.tar.gz
# sudo chown -R root:root ./go
# sudo mv go /usr/local
# mkdir ~/gopath
# echo "export GOPATH=$HOME/gopath" >> ~/.profile
# echo "export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin" >> ~/.profile
# source ~/.profile
# rm go1.11.2.linux-amd64.tar.gz
cd $GOPATH
go get -v github.com/Azure/Avere/src/go/...
""".split("\n")
helpers.run_ssh_commands(ssh_con, commands)
# cd $GOPATH
# go get -v github.com/Azure/Avere/src/go/...
# """.split("\n")
# helpers.run_ssh_commands(ssh_con, commands)
def test_storage_account(self, test_vars, resource_group, storage_account, ssh_con):
td = test_vars["atd_obj"]