This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
import testinfra | |
import unittest | |
import pprint | |
import pytest | |
class TestDevopsPortal: | |
def setup(self): | |
self.b = testinfra.get_backend("local://") | |
print ("basic setup into class") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://pypi.python.org/pypi/RandomWords/0.1.5 | |
host=172.16.10.254 | |
port=9200 | |
title=$(python -c "import random_words; print ' '.join(random_words.RandomWords().random_words(count=2))") | |
content=$(python -c "import random_words; print ' '.join(random_words.RandomWords().random_words(count=10))") | |
app=$(($RANDOM % 3 + 1)) | |
timestamp=$(date +"%Y-%m-%d %H:%M:%S") | |
data=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error_message: | |
ru: | | |
Не понял! /help | |
en: | | |
I'm dummy, sorry! /help | |
help_head: | |
ru: | | |
Привет! Я туду-лист с напоминалками, буду куковать тебе о важных вещах, | |
чтобы ты не забыл. |
NewerOlder