mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-11-04 10:10:09 +00:00 
			
		
		
		
	* standardizes ruff dep version across all `pyproject.toml` files * cli: ruff rules and corrections * langchain: rules and corrections
		
			
				
	
	
		
			12 lines
		
	
	
		
			386 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			386 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import pytest
 | 
						|
 | 
						|
from langchain_cli.utils.events import EventDict, create_events
 | 
						|
 | 
						|
 | 
						|
@pytest.mark.xfail(reason="Unknown reason")
 | 
						|
def test_create_events() -> None:
 | 
						|
    result = create_events([EventDict(event="Test Event", properties={"test": "test"})])
 | 
						|
    if result != {"status": "success"}:
 | 
						|
        msg = "Expected {'status': 'success'}, got " + repr(result)
 | 
						|
        raise ValueError(msg)
 |