Changeset 2788 for trunk/test


Ignore:
Timestamp:
03/12/13 12:51:21 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: nosetest test_nrofiller.py

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Enabled nrofiller test with fix that is disabled before.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_nrofiller.py

    r2677 r2788  
    1818class TestNRO(object):
    1919    def setup(self):
    20         s = scantable('data/B68test.nro', average=False)
     20        s = scantable('data/B68test.nro', average=False, freqref='VREF')
    2121        sel = selector()
    2222        # make sure this order is always correct - it can be random
     
    5252
    5353    def test_frequency(self):
    54         raise SkipTest("Currently disabled")
     54        #raise SkipTest("Currently disabled")
    5555        rf=self.st.get_restfreqs()
    5656        assert_equal(len(rf),2)
     
    5959        self.st.set_unit('GHz')
    6060        abc=self.st._getabcissa(0)
    61         assert_equal(abc[0],85.183349020848283)
     61        assert_almost_equal(abc[0],85.182400000256166,places=14)
Note: See TracChangeset for help on using the changeset viewer.