import unittest

import KegbotJsonServer_unittest
import kegbot_unittest
import models_unittest
import StateMachine_unittest
import units_unittest
import util_unittest

from pykeg.core.Devices import Net_unittest

ALL_TEST_MODULES = (
    models_unittest,
    StateMachine_unittest,
    units_unittest,
    util_unittest,
    Net_unittest,
    KegbotJsonServer_unittest,
    kegbot_unittest,
)

def suite():
  suite = unittest.TestSuite()
  for module in ALL_TEST_MODULES:
    suite.addTests(unittest.TestLoader().loadTestsFromModule(module))
  return suite


import unittest

from pykeg.core import alarm_unittest
from pykeg.core import kegbot_unittest
from pykeg.core import models_unittest
from pykeg.core import StateMachine_unittest
from pykeg.core import units_unittest
from pykeg.core import util_unittest
from pykeg.core.net import kegnet_unittest

ALL_TEST_MODULES = (
    alarm_unittest,
    models_unittest,
    StateMachine_unittest,
    units_unittest,
    util_unittest,
    kegnet_unittest,
    kegbot_unittest,
)

def suite():
  suite = unittest.TestSuite()
  for module in ALL_TEST_MODULES:
    suite.addTests(unittest.TestLoader().loadTestsFromModule(module))
  return suite

Update unittest suite for new modules.
Update unittest suite for new modules.

+ 
  import unittest
  
- import KegbotJsonServer_unittest
- import kegbot_unittest
- import models_unittest
+ from pykeg.core import alarm_unittest
+ from pykeg.core import kegbot_unittest
+ from pykeg.core import models_unittest
- import StateMachine_unittest
+ from pykeg.core import StateMachine_unittest
+ from pykeg.core import units_unittest
+ from pykeg.core import util_unittest
- import units_unittest
- import util_unittest
- 
- from pykeg.core.Devices import Net_unittest
+ from pykeg.core.net import kegnet_unittest
  
  ALL_TEST_MODULES = (
+     alarm_unittest,
      models_unittest,
      StateMachine_unittest,
      units_unittest,
      util_unittest,
-     Net_unittest,
+     kegnet_unittest,
-     KegbotJsonServer_unittest,
      kegbot_unittest,
  )
  
  def suite():
    suite = unittest.TestSuite()
    for module in ALL_TEST_MODULES:
      suite.addTests(unittest.TestLoader().loadTestsFromModule(module))
    return suite
  
Update unittest suite for new modules.
## Code Before:
import unittest

import KegbotJsonServer_unittest
import kegbot_unittest
import models_unittest
import StateMachine_unittest
import units_unittest
import util_unittest

from pykeg.core.Devices import Net_unittest

ALL_TEST_MODULES = (
    models_unittest,
    StateMachine_unittest,
    units_unittest,
    util_unittest,
    Net_unittest,
    KegbotJsonServer_unittest,
    kegbot_unittest,
)

def suite():
  suite = unittest.TestSuite()
  for module in ALL_TEST_MODULES:
    suite.addTests(unittest.TestLoader().loadTestsFromModule(module))
  return suite

## Instruction:
Update unittest suite for new modules.
## Code After:

import unittest

from pykeg.core import alarm_unittest
from pykeg.core import kegbot_unittest
from pykeg.core import models_unittest
from pykeg.core import StateMachine_unittest
from pykeg.core import units_unittest
from pykeg.core import util_unittest
from pykeg.core.net import kegnet_unittest

ALL_TEST_MODULES = (
    alarm_unittest,
    models_unittest,
    StateMachine_unittest,
    units_unittest,
    util_unittest,
    kegnet_unittest,
    kegbot_unittest,
)

def suite():
  suite = unittest.TestSuite()
  for module in ALL_TEST_MODULES:
    suite.addTests(unittest.TestLoader().loadTestsFromModule(module))
  return suite
