# Path: traductor/translators/cap_add.py
# class CapAdd(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/cap_drop.py
# class CapDrop(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/container_name.py
# class ContainerName(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/cpu_shares.py
# class CpuShares(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/cpuset.py
# class Cpuset(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/devices.py
# class Devices(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/dns.py
# class Dns(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/dns_search.py
# class DnsSearch(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/entrypoint.py
# class Entrypoint(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/env_file.py
# class EnvFile(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/environment.py
# class Environment(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/expose.py
# class Expose(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/hostname.py
# class Hostname(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/labels.py
# class Labels(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/links.py
# class Links(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/log_driver.py
# class LogDriver(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/mac_address.py
# class MacAddress(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/mem_limit.py
# class MemLimit(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/memswap_limit.py
# class MemswapLimit(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/net.py
# class Net(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/pid.py
# class Pid(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/ports.py
# class Ports(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/privileged.py
# class Privileged(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/read_only.py
# class ReadOnly(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/restart.py
# class Restart(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/stdin_open.py
# class StdinOpen(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/tty.py
# class Tty(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/user.py
# class User(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/volume_driver.py
# class VolumeDriver(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/volumes.py
# class Volumes(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/volumes_from.py
# class VolumesFrom(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/working_dir.py
# class WorkingDir(BaseTranslator):
#     def translate(self, value):


import six
import unittest
from traductor.translators import (cap_add, cap_drop, container_name, cpu_shares, cpuset, devices,
    dns, dns_search, entrypoint, env_file, environment, expose, hostname, labels, links,
    log_driver, mac_address, mem_limit, memswap_limit, net, pid, ports, privileged, read_only,
    restart, stdin_open, tty, user, volume_driver, volumes, volumes_from, working_dir)

        self.assertEqual(output, expected_output)

    def test_coversion_fail(self):

        input=""
        expected_output=""

        output=ports.Ports().translate(input)

        self.assertEqual(output, expected_output)



class TestPrivileged(unittest.TestCase):

    def test_coversion(self):

        input="true"
        expected_output="--privileged=true"

        output=privileged.Privileged().translate(input)

        self.assertEqual(output, expected_output)

    def test_coversion_fail(self):

        input=""
        expected_output=""


# Path: traductor/translators/cap_add.py
# class CapAdd(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/cap_drop.py
# class CapDrop(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/container_name.py
# class ContainerName(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/cpu_shares.py
# class CpuShares(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/cpuset.py
# class Cpuset(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/devices.py
# class Devices(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/dns.py
# class Dns(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/dns_search.py
# class DnsSearch(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/entrypoint.py
# class Entrypoint(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/env_file.py
# class EnvFile(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/environment.py
# class Environment(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/expose.py
# class Expose(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/hostname.py
# class Hostname(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/labels.py
# class Labels(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/links.py
# class Links(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/log_driver.py
# class LogDriver(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/mac_address.py
# class MacAddress(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/mem_limit.py
# class MemLimit(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/memswap_limit.py
# class MemswapLimit(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/net.py
# class Net(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/pid.py
# class Pid(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/ports.py
# class Ports(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/privileged.py
# class Privileged(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/read_only.py
# class ReadOnly(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/restart.py
# class Restart(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/stdin_open.py
# class StdinOpen(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/tty.py
# class Tty(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/user.py
# class User(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/volume_driver.py
# class VolumeDriver(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/volumes.py
# class Volumes(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/volumes_from.py
# class VolumesFrom(BaseTranslator):
#     def translate(self, value):
# 
# Path: traductor/translators/working_dir.py
# class WorkingDir(BaseTranslator):
#     def translate(self, value):


# Path: tests/test_translators.py
import six
import unittest
from traductor.translators import (cap_add, cap_drop, container_name, cpu_shares, cpuset, devices,
    dns, dns_search, entrypoint, env_file, environment, expose, hostname, labels, links,
    log_driver, mac_address, mem_limit, memswap_limit, net, pid, ports, privileged, read_only,
    restart, stdin_open, tty, user, volume_driver, volumes, volumes_from, working_dir)


        self.assertEqual(output, expected_output)

    def test_coversion_fail(self):

        input=""
        expected_output=""

        output=ports.Ports().translate(input)

        self.assertEqual(output, expected_output)



class TestPrivileged(unittest.TestCase):

    def test_coversion(self):

        input="true"
        expected_output="--privileged=true"

        output=privileged.Privileged().translate(input)

        self.assertEqual(output, expected_output)

    def test_coversion_fail(self):

        input=""
        expected_output=""


        output=privileged.Privileged().translate(input)