~lp-l10n-th/checkbox/checkbox-l10n-th

« back to all changes in this revision

Viewing changes to registries/tests/meminfo_test.py

  • Committer: ศิระ นกยูงทอง
  • Date: 2010-04-05 07:51:40 UTC
  • mfrom: (760.1.21 checkbox)
  • Revision ID: gumara@gumara-desktop-20100405075140-0v9pu2b6g32ivhr3
merge from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import unittest
2
 
 
3
 
from registries.meminfo import MeminfoRegistry
4
 
 
5
 
 
6
 
class MeminfoRegistryTest(unittest.TestCase):
7
 
 
8
 
    def test_mem_total(self):
9
 
        registry = MeminfoRegistry()
10
 
        self.assertTrue(registry["total"] is not None)
11
 
        self.assertTrue(registry["total"] > 0)