"""Simple test - just write a file"""
with open(r"C:\Users\antoi\Atomizer\_test_output.txt", 'w') as f:
    f.write("Journal executed successfully!\n")

    try:
        import NXOpen
        f.write("NXOpen imported OK\n")
        session = NXOpen.Session.GetSession()
        f.write(f"Session: {session}\n")
    except Exception as e:
        f.write(f"NXOpen error: {e}\n")
