def test_compile_assets_with_0_length_type_should_raises_error(self):
     check_and_compile_bundle('test', {
         'type': '',
         'filters': None,
         'files': [
             'scripts/main.js'
         ]
     })
 def test_compile_assets_with_bad_file_should_raises_error(self):
     check_and_compile_bundle('test', {
         'type': 'js',
         'filters': None,
         'files': [
             'scripts/main.js',
             'ERROR__'
         ]
     })
    def test_compile_asset(self):
        bundle = check_and_compile_bundle('test', {
            'type': 'js',
            'filters': None,
            'files': [
                'scripts/main.js'
            ]
        })

        ok_(isinstance(bundle, Bundle), msg='Must return an instance of Bundle')
 def test_compile_assets_with_0_length_name_should_raises_error(self):
     check_and_compile_bundle(name='', settings=None)
 def test_compile_assets_with_no_files_should_raises_error(self):
     check_and_compile_bundle('test', {
         'type': 'js',
         'filters': None,
         'files': []
     })