'``FigConfiguration._parse`` creates an ``Application`` instance with a
memory_limit of None if no mem_limit is specified in a valid Fig
configuration.'

def test_valid_fig_config_default_mem_limit(self):

    config = {u'postgres': {u'image': u'sample/postgres', u'environment': {u'PG_SCHEMA_NAME': u'example_database', u'PG_PGUSER_PASSWORD': u'clusterhq'}}}
    parser = FigConfiguration(config)
    applications = parser.applications()
    self.assertEqual(applications[u'postgres'].memory_limit, None)
