def test_negative_admin_fee_attendance(self):
        error_str = "Ensure this value is greater than or equal to 0."

        data = {
            'host': self.test_host.id,
            'tags': [self.test_tag.id],
            'slug': 'test-event',
            'admin_fee': -1200,
            'invoice_status': 'unknown',
        }

        f = EventForm(data)
        self.assertIn('admin_fee', f.errors)
        self.assertIn(error_str, f.errors['admin_fee'])

        del data['admin_fee']
        data['attendance'] = -36
        f = EventForm(data)
        self.assertIn('attendance', f.errors)
        self.assertIn(error_str, f.errors['attendance'])

        data['admin_fee'] = 0
        data['attendance'] = 0
        f = EventForm(data)
        self.assertNotIn('admin_fee', f.errors)
        self.assertNotIn('attendance', f.errors)

        data['slug'] = 'test-event2'
        data['admin_fee'] = 1200
        data['attendance'] = 36
        f = EventForm(data)
        self.assertTrue(f.is_valid())
bluetoothActiveConnections()
dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py/TestEventViews.test_negative_admin_fee_attendance--crossover with--dataset/ETHPy150Open brousch/sl4a_pydroid_mock_api/src/android/utils/androidhelper_r6.py/Android.bluetoothActiveConnections