Source

pyobjc / pyobjc-framework-Cocoa / PyObjCTest / test_nsarchiver.py

Full commit
from Foundation import *
from PyObjCTools.TestSupport import *

class TestArchiver (TestCase):
    def testConstants(self):
        self.assertIsInstance(NSInconsistentArchiveException, unicode)

    def testMethods(self):
        self.assertResultIsBOOL(NSArchiver.archiveRootObject_toFile_)
        self.assertResultIsBOOL(NSUnarchiver.isAtEnd)


if __name__ == "__main__":
    main()