import unittest
import ndio.remote.OCP as OCP
import ndio.ramon

class TestRAMONSegment(unittest.TestCase):

    def setUp(self):
        self.oo = OCP()
        self.ramon_segment = self.oo.get_ramon('kasthuri2015_ramon_v1', 'neurons', 3, 3)
        self.default_ramon_segment = ndio.ramon.RAMONSynapse()

    def test_defaults(self):
        self.assertEqual(self.default_ramon_segment.id, -1, "Unexpected default RAMON id.")

    def test_metadata(self):
        self.assertEqual(str(self.ramon_segment.id), '3')

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

@@ -304,129 +304,8 @@
 ()%0A%0A
-    def test_defaults(self):%0A        self.assertEqual(self.default_ramon_segment.id, -1, %22Unexpected default RAMON id.%22)%0A
 %0A   

fix more tests