
import unittest

import sys; sys.path.append("../")
from Selector import Selector

if __name__=="__main__":
    unittest.main()


import unittest

import sys; sys.path.append("../")
from Selector import Selector

class SmokeTests_Selector(unittest.TestCase):
    def test_SmokeTest(self):
        """__init__ - Called with no arguments succeeds"""
        S = Selector()
        self.assert_(isinstance(S, Axon.Component.component))

if __name__=="__main__":
    unittest.main()

Add the most basic smoke test. We make a check that the resulting object is a minimal component at least.
Add the most basic smoke test. We make a check that the resulting object is a minimal component at least.

  
  import unittest
  
  import sys; sys.path.append("../")
  from Selector import Selector
  
+ class SmokeTests_Selector(unittest.TestCase):
+     def test_SmokeTest(self):
+         """__init__ - Called with no arguments succeeds"""
+         S = Selector()
+         self.assert_(isinstance(S, Axon.Component.component))
+ 
  if __name__=="__main__":
      unittest.main()
  
Add the most basic smoke test. We make a check that the resulting object is a minimal component at least.
## Code Before:

import unittest

import sys; sys.path.append("../")
from Selector import Selector

if __name__=="__main__":
    unittest.main()

## Instruction:
Add the most basic smoke test. We make a check that the resulting object is a minimal component at least.
## Code After:

import unittest

import sys; sys.path.append("../")
from Selector import Selector

class SmokeTests_Selector(unittest.TestCase):
    def test_SmokeTest(self):
        """__init__ - Called with no arguments succeeds"""
        S = Selector()
        self.assert_(isinstance(S, Axon.Component.component))

if __name__=="__main__":
    unittest.main()
