import unittest
import Redis


def send_figures_to_server():
    con = Redis(host="localhost", db=4)
    prefix = "resources_collector"
    host = "localhost"

    for key in ("delay", "total_queries", "load_averages", "ram_available"):
        assertIsNotNone(con.get(":".join((prefix, host, key))))

2bd5f33ecc6ad7fd679737e4c8a6ae0f2f86cdf6
<mask token>

<mask token>


def send_figures_to_server():
    con = Redis(host='localhost', db=4)
    prefix = 'resources_collector'
    host = 'localhost'
    for key in ('delay', 'total_queries', 'load_averages', 'ram_available'):
        assertIsNotNone(con.get(':'.join((prefix, host, key))))

import unittest
import Redis


def send_figures_to_server():
    con = Redis(host='localhost', db=4)
    prefix = 'resources_collector'
    host = 'localhost'
    for key in ('delay', 'total_queries', 'load_averages', 'ram_available'):
        assertIsNotNone(con.get(':'.join((prefix, host, key))))

import unittest
import Redis


def send_figures_to_server():
    con = Redis(host="localhost", db=4)
    prefix = "resources_collector"
    host = "localhost"

    for key in ("delay", "total_queries", "load_averages", "ram_available"):
        assertIsNotNone(con.get(":".join((prefix, host, key))))
